Documentation ¶
Index ¶
- Constants
- func BytesToInt32(b []byte) (int32, error)
- func BytesToInt64(b []byte) (int64, error)
- func BytesToNum(b []byte, numTypeSample interface{}) (interface{}, error)
- func BytesToUint32(b []byte) (uint32, error)
- func BytesToUint64(b []byte) (uint64, error)
- func Clone2(src, dst interface{}) error
- func DecodeBool(p []byte, c *bool) []byte
- func DecodeUint16(p []byte, w *uint16) []byte
- func DecodeUint32(p []byte, l *uint32) []byte
- func DecodeUint64(p []byte, l *uint64) []byte
- func DecodeUint8(p []byte, c *byte) []byte
- func DeepCopy(dst, src interface{}) error
- func DeepCopyEx(src interface{}) (interface{}, error)
- func Encode(encode string, binary []byte) (text string, err error)
- func EncodeBool(p []byte, c bool) []byte
- func EncodeUint16(p []byte, w uint16) []byte
- func EncodeUint32(p []byte, l uint32) []byte
- func EncodeUint64(p []byte, l uint64) []byte
- func EncodeUint8(p []byte, c uint8) []byte
- func Index(p []byte, toSearch byte) int
- func NumToBytes(n interface{}) ([]byte, error)
Constants ¶
View Source
const ( EncodeBase64 = "base64" EncodeBase58 = "base58" )
Variables ¶
This section is empty.
Functions ¶
func BytesToInt32 ¶
func BytesToInt64 ¶
func BytesToNum ¶
func BytesToUint32 ¶
func BytesToUint64 ¶
func DeepCopyEx ¶
func DeepCopyEx(src interface{}) (interface{}, error)
func NumToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.