MCPcopy 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}
132func (b *Buffer) ReadUint16() uint16 {
133 return binary.BigEndian.Uint16(b.ReadN(2))
134}
135func (b *Buffer) ReadByte() byte {
136 return b.ReadN(1)[0]
137}

Callers

nothing calls this directly

Calls 2

ReadNMethod · 0.95
Uint16Method · 0.45

Tested by

no test coverage detected