MCPcopy Index your code
hub / github.com/Monibuca/engine / CanRead

Method CanRead

util/buffer.go:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func (b Buffer) CanRead() bool {
181 return b.CanReadN(1)
182}
183
184func (b Buffer) CanReadN(n int) bool {
185 return b.Len() >= n

Callers

nothing calls this directly

Calls 1

CanReadNMethod · 0.95

Tested by

no test coverage detected