MCPcopy Create free account
hub / github.com/Monibuca/engine / ReadUint24

Method ReadUint24

util/buffer.go:129–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 return binary.BigEndian.Uint32(b.ReadN(4))
128}
129func (b *Buffer) ReadUint24() uint32 {
130 return ReadBE[uint32](b.ReadN(3))
131}
132func (b *Buffer) ReadUint16() uint16 {
133 return binary.BigEndian.Uint16(b.ReadN(2))
134}

Callers

nothing calls this directly

Calls 1

ReadNMethod · 0.95

Tested by

no test coverage detected