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

Method ReadByte

util/buffer.go:135–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 return binary.BigEndian.Uint16(b.ReadN(2))
134}
135func (b *Buffer) ReadByte() byte {
136 return b.ReadN(1)[0]
137}
138func (b *Buffer) WriteFloat64(v float64) {
139 PutBE(b.Malloc(8), math.Float64bits(v))
140}

Callers

nothing calls this directly

Calls 1

ReadNMethod · 0.95

Tested by

no test coverage detected