MCPcopy Index your code
hub / github.com/Monibuca/engine / WriteByte

Method WriteByte

util/buffer.go:150–152  ·  view source on GitHub ↗
(v byte)

Source from the content-addressed store, hash-verified

148 binary.BigEndian.PutUint16(b.Malloc(2), v)
149}
150func (b *Buffer) WriteByte(v byte) {
151 b.Malloc(1)[0] = v
152}
153func (b *Buffer) WriteString(a string) {
154 *b = append(*b, a...)
155}

Callers 1

WriteSliceBytesMethod · 0.95

Calls 1

MallocMethod · 0.95

Tested by

no test coverage detected