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

Method WriteUint24

util/buffer.go:144–146  ·  view source on GitHub ↗
(v uint32)

Source from the content-addressed store, hash-verified

142 binary.BigEndian.PutUint32(b.Malloc(4), v)
143}
144func (b *Buffer) WriteUint24(v uint32) {
145 PutBE(b.Malloc(3), v)
146}
147func (b *Buffer) WriteUint16(v uint16) {
148 binary.BigEndian.PutUint16(b.Malloc(2), v)
149}

Callers

nothing calls this directly

Calls 2

MallocMethod · 0.95
PutBEFunction · 0.85

Tested by

no test coverage detected