MCPcopy Create free account
hub / github.com/apache/fory / bytesToInt64

Function bytesToInt64

go/fory/meta_string_resolver.go:330–336  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

328}
329
330func bytesToInt64(b []byte) int64 {
331 var v int64
332 for i := range b {
333 v |= int64(b[i]) << (8 * i)
334 }
335 return v
336}
337
338func smallMetaStringWords(data []byte) pair {
339 if len(data) <= 8 {

Callers 1

smallMetaStringWordsFunction · 0.85

Calls 1

int64Function · 0.50

Tested by

no test coverage detected