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

Method GetByteSlice

go/fory/buffer.go:460–462  ·  view source on GitHub ↗
(start, end int)

Source from the content-addressed store, hash-verified

458}
459
460func (b *ByteBuffer) GetByteSlice(start, end int) []byte {
461 return b.data[start:end]
462}
463
464func (b *ByteBuffer) Slice(start, length int) *ByteBuffer {
465 return NewByteBuffer(b.data[start : start+length])

Callers 11

BytesMethod · 0.95
testBufferFunction · 0.95
testBufferVarFunction · 0.95
testMurmurHash3Function · 0.95
SerializeMethod · 0.80
serializeReflectValueMethod · 0.80
SerializeFunction · 0.80
encodingTypeDefFunction · 0.80
prependGlobalHeaderFunction · 0.80

Calls

no outgoing calls