MCPcopy Index your code
hub / github.com/CodisLabs/codis / buffered

Method buffered

pkg/utils/bufio2/bufio.go:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (b *Reader) buffered() int {
64 return b.wpos - b.rpos
65}
66
67func (b *Reader) Read(p []byte) (int, error) {
68 if b.err != nil || len(p) == 0 {

Callers 4

ReadMethod · 0.95
ReadByteMethod · 0.95
PeekByteMethod · 0.95
ReadSliceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected