MCPcopy Create free account
hub / github.com/Monibuca/engine / SubBuf

Method SubBuf

util/buffer.go:38–41  ·  view source on GitHub ↗
(start int, length int)

Source from the content-addressed store, hash-verified

36}
37
38func (b LimitBuffer) SubBuf(start int, length int) (result LimitBuffer) {
39 result.Buffer = b.Buffer.SubBuf(start, length)
40 return
41}
42
43func (b *LimitBuffer) Malloc(count int) (result LimitBuffer) {
44 l := b.Len()

Callers 1

MallocMethod · 0.95

Calls 1

SubBufMethod · 0.65

Tested by

no test coverage detected