MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / ReadBytes

Function ReadBytes

projects/Go/proto/fbe/Buffer.go:289–291  ·  view source on GitHub ↗

Read bytes from the buffer

(buffer []byte, offset int, size int)

Source from the content-addressed store, hash-verified

287
288// Read bytes from the buffer
289func ReadBytes(buffer []byte, offset int, size int) []byte {
290 return buffer[offset:offset + size]
291}
292
293// Read string from the buffer
294func ReadString(buffer []byte, offset int, size int) string {

Callers 7

GetMethod · 0.85
GetMethod · 0.85
GetDefaultMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85
ReadUUIDFunction · 0.85
GetDefaultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected