Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
63
func
(b *Reader) buffered() int {
64
return
b.wpos - b.rpos
65
}
66
67
func
(b *Reader) Read(p []byte) (int, error) {
68
if
b.err != nil || len(p) == 0 {
Callers
4
Read
Method · 0.95
ReadByte
Method · 0.95
PeekByte
Method · 0.95
ReadSlice
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected