MCPcopy Create free account
hub / github.com/segmentio/encoding / bto16

Function bto16

proto/bytes.go:121–123  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

119}
120
121func bto16(b []byte) uint16 {
122 return *(*uint16)(unsafe.Pointer(&b[0]))
123}
124
125func isZeroUint64(b []uint64) bool {
126 for i := range b {

Callers 1

isZeroBytesFunction · 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…