MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / Len

Method Len

utils/binary/reader.go:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (r *Reader) Len() int {
31 if r.reader != nil {
32 return -1
33 }
34 return len(r.buffer) - r.pos
35}
36
37func (r *Reader) ReadByte() (byte, error) {
38 if r.pos >= len(r.buffer) {

Callers 4

readSSOFrameMethod · 0.95
UnmarshalMethod · 0.95
ToBytesMethod · 0.80
PackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected