{"modulePath":"github.com/ozontech/seq-db","version":"v0.82.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package encoding\n\n## Functions\n\n```go\nfunc Float64ArrayFromBytes(b []byte) []float64\n```\n\n```go\nfunc Float64ArrayToBytes(val []float64) []byte\n```\nFloat64ArrayToBytes 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).\n\n```go\nfunc Float64FromBytes(b []byte) float64\n```\n\n```go\nfunc Float64ToBytes(val float64) []byte\n```\n\n```go\nfunc Int32FromBytes(b []byte) int32\n```\n\n```go\nfunc Int32ToBytes(val int32) []byte\n```\n\n```go\nfunc Int64FromBytes(b []byte) int64\n```\n\n```go\nfunc Int64ToBytes(val int64) []byte\n```\n\n```go\nfunc SeqIDFromBytes(b []byte) seq.ID\n```\n\n```go\nfunc SeqIDToBytes(id seq.ID) []byte\n```\n\n```go\nfunc StringArrayFromBytes(b []byte) []string\n```\n\n```go\nfunc StringArrayToBytes(val []string) []byte\n```\nStringArrayToBytes 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).\n\n```go\nfunc StringFromBytes(val []byte) string\n```\n\n```go\nfunc StringToBytes(val string) []byte\n```\n\n```go\nfunc Uint32FromBytes(b []byte) uint32\n```\n\n```go\nfunc Uint32ToBytes(val uint32) []byte\n```\n\n```go\nfunc Uint64FromBytes(b []byte) uint64\n```\n\n```go\nfunc Uint64ToBytes(val uint64) []byte\n```\n\n","path":"github.com/ozontech/seq-db/query/encoding","name":"encoding","synopsis":"","isRedistributable":true}
