Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
func
(enc *ByteEncoder) WriteUint32(v uint32) {
69
binary.LittleEndian.PutUint32(enc.data[enc.at:], v)
70
enc.at += 4
71
}
72
73
func
(enc *ByteEncoder) Reset() { enc.at = 0 }
74
Callers
3
BenchmarkByte_uint32
Function · 0.95
BenchmarkByte_4xuint32
Function · 0.95
BenchmarkByte_mix
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected