Documentation
¶
Index ¶
- func Float64ArrayFromBytes(b []byte) []float64
- func Float64ArrayToBytes(val []float64) []byte
- func Float64FromBytes(b []byte) float64
- func Float64ToBytes(val float64) []byte
- func Int32FromBytes(b []byte) int32
- func Int32ToBytes(val int32) []byte
- func Int64FromBytes(b []byte) int64
- func Int64ToBytes(val int64) []byte
- func SeqIDFromBytes(b []byte) seq.ID
- func SeqIDToBytes(id seq.ID) []byte
- func StringArrayFromBytes(b []byte) []string
- func StringArrayToBytes(val []string) []byte
- func StringFromBytes(val []byte) string
- func StringToBytes(val string) []byte
- func Uint32FromBytes(b []byte) uint32
- func Uint32ToBytes(val uint32) []byte
- func Uint64FromBytes(b []byte) uint64
- func Uint64ToBytes(val uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64ArrayFromBytes ¶
func Float64ArrayToBytes ¶
Float64ArrayToBytes encodes a float64 slice as an 8-byte little-endian length prefix followed by the little-endian raw bytes of each element. An empty or nil slice is encoded as a zero length (8 zero bytes).
func Float64FromBytes ¶
func Float64ToBytes ¶
func Int32FromBytes ¶
func Int32ToBytes ¶
func Int64FromBytes ¶
func Int64ToBytes ¶
func SeqIDFromBytes ¶
func SeqIDToBytes ¶
func StringArrayFromBytes ¶
func StringArrayToBytes ¶
StringArrayToBytes encodes a string slice as an 8-byte little-endian length prefix (number of strings) followed by each string prefixed with its own 8-byte little-endian length. An empty or nil slice is encoded as a zero length (8 zero bytes).
func StringFromBytes ¶
func StringToBytes ¶
func Uint32FromBytes ¶
func Uint32ToBytes ¶
func Uint64FromBytes ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.