MCPcopy
hub / github.com/gogf/gf / LeEncodeInt64

Function LeEncodeInt64

encoding/gbinary/gbinary_le.go:170–174  ·  view source on GitHub ↗
(i int64)

Source from the content-addressed store, hash-verified

168}
169
170func LeEncodeInt64(i int64) []byte {
171 b := make([]byte, 8)
172 binary.LittleEndian.PutUint64(b, uint64(i))
173 return b
174}
175
176func LeEncodeUint64(i uint64) []byte {
177 b := make([]byte, 8)

Callers 2

LeEncodeFunction · 0.85
EncodeInt64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…