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

Method WriteUint32

bench/bulkencoder/encoder_test.go:68–71  ·  view source on GitHub ↗
(v uint32)

Source from the content-addressed store, hash-verified

66}
67
68func (enc *ByteEncoder) WriteUint32(v uint32) {
69 binary.LittleEndian.PutUint32(enc.data[enc.at:], v)
70 enc.at += 4
71}
72
73func (enc *ByteEncoder) Reset() { enc.at = 0 }
74

Callers 3

BenchmarkByte_uint32Function · 0.95
BenchmarkByte_4xuint32Function · 0.95
BenchmarkByte_mixFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected