bytes

package
v0.41.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutInt16

func PutInt16(n int16, p []byte)

PutInt16 int16 转 []byte

func PutInt32

func PutInt32(n int32, p []byte)

PutInt32 int32 转 []byte

func PutInt64

func PutInt64(n int64, p []byte)

PutInt64 int64 转 []byte

func PutInt8

func PutInt8(n int8, p []byte)

PutInt8 int8 转 []byte

func PutUint16

func PutUint16(n uint16, p []byte)

PutUint16 uint16 转 []byte

func PutUint32

func PutUint32(n uint32, p []byte)

PutUint32 uint32 转 []byte

func PutUint64

func PutUint64(n uint64, p []byte)

PutUint64 uint64 转 []byte

func PutUint8

func PutUint8(n uint8, p []byte)

PutUint8 uint8 转 []byte

func ToInt16

func ToInt16(p []byte) int16

ToInt16 转 int16

func ToInt32

func ToInt32(p []byte) int32

ToInt32 转 int32

func ToInt64

func ToInt64(p []byte) int64

ToInt64 转 int64

func ToInt8

func ToInt8(p []byte) int8

ToInt8 转为 int8

func ToUint16

func ToUint16(p []byte) uint16

ToUint16 转 uint16

func ToUint32

func ToUint32(p []byte) uint32

ToUint32 转 uint32

func ToUint64

func ToUint64(p []byte) uint64

ToUint64 转 uint64

func ToUint8

func ToUint8(p []byte) uint8

ToUint8 转为 uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL