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

Method Attach

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

Attach the given bytes memory buffer

(buffer []byte)

Source from the content-addressed store, hash-verified

77
78// Attach the given bytes memory buffer
79func (b *Buffer) Attach(buffer []byte) {
80 b.AttachBytes(buffer, 0, len(buffer))
81}
82
83// Attach the given bytes memory buffer with offset and size
84func (b *Buffer) AttachBytes(buffer []byte, offset int, size int) {

Callers 7

NewAttachedFunction · 0.45
OnReceiveMethod · 0.45
OnReceiveMethod · 0.45
OnReceiveMethod · 0.45
OnReceiveMethod · 0.45
OnReceiveMethod · 0.45
OnReceiveMethod · 0.45

Calls 1

AttachBytesMethod · 0.95

Tested by

no test coverage detected