Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Monibuca/engine
/ ReadUint16
Method
ReadUint16
util/buffer.go:132–134 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
130
return
ReadBE[uint32](b.ReadN(3))
131
}
132
func
(b *Buffer) ReadUint16() uint16 {
133
return
binary.BigEndian.Uint16(b.ReadN(2))
134
}
135
func
(b *Buffer) ReadByte() byte {
136
return
b.ReadN(1)[0]
137
}
Callers
nothing calls this directly
Calls
2
ReadN
Method · 0.95
Uint16
Method · 0.45
Tested by
no test coverage detected