Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
func
(r *Reader) Len() int {
31
if
r.reader != nil {
32
return
-1
33
}
34
return
len(r.buffer) - r.pos
35
}
36
37
func
(r *Reader) ReadByte() (byte, error) {
38
if
r.pos >= len(r.buffer) {
Callers
4
readSSOFrame
Method · 0.95
Unmarshal
Method · 0.95
ToBytes
Method · 0.80
Pack
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected