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

Method ReadUint32

util/buffer.go:126–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 return binary.BigEndian.Uint64(b.ReadN(8))
125}
126func (b *Buffer) ReadUint32() uint32 {
127 return binary.BigEndian.Uint32(b.ReadN(4))
128}
129func (b *Buffer) ReadUint24() uint32 {
130 return ReadBE[uint32](b.ReadN(3))
131}

Callers

nothing calls this directly

Calls 2

ReadNMethod · 0.95
Uint32Method · 0.45

Tested by

no test coverage detected