MCPcopy Create free account
hub / github.com/egonelbre/exp / WriteByte

Method WriteByte

bench/bulkencoder/encoder_test.go:63–66  ·  view source on GitHub ↗
(v byte)

Source from the content-addressed store, hash-verified

61}
62
63func (enc *ByteEncoder) WriteByte(v byte) {
64 enc.data[enc.at] = v
65 enc.at++
66}
67
68func (enc *ByteEncoder) WriteUint32(v uint32) {
69 binary.LittleEndian.PutUint32(enc.data[enc.at:], v)

Callers 3

BenchmarkByte_byteFunction · 0.95
BenchmarkByte_4xbyteFunction · 0.95
BenchmarkByte_mixFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected