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

Function WriteBytes

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

Write bytes into the buffer

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

Source from the content-addressed store, hash-verified

405
406// Write bytes into the buffer
407func WriteBytes(buffer []byte, offset int, value []byte) {
408 copy(buffer[offset:offset + len(value)], value)
409}
410
411// Write slice into the buffer
412func WriteSlice(buffer []byte, offset int, value []byte, valueOffset int, valueSize int) {

Callers 6

SetMethod · 0.85
SetMethod · 0.85
SetMethod · 0.85
WriteStringFunction · 0.85
WriteUUIDFunction · 0.85
SetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected