MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / NewByteInput

Function NewByteInput

internal/byte_input.go:37–42  ·  view source on GitHub ↗

NewByteInput creates raw bytes wrapper

(buf []byte)

Source from the content-addressed store, hash-verified

35
36// NewByteInput creates raw bytes wrapper
37func NewByteInput(buf []byte) ByteInput {
38 return &ByteBuffer{
39 buf: buf,
40 off: 0,
41 }
42}
43
44// ByteBuffer raw bytes wrapper
45type ByteBuffer struct {

Callers 1

TestByteInputFlowFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestByteInputFlowFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…