Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ WriteUint32
Method
WriteUint32
util/buffer.go:141–143 ·
view source on GitHub ↗
(v uint32)
Source
from the content-addressed store, hash-verified
139
PutBE(b.Malloc(8), math.Float64bits(v))
140
}
141
func
(b *Buffer) WriteUint32(v uint32) {
142
binary.BigEndian.PutUint32(b.Malloc(4), v)
143
}
144
func
(b *Buffer) WriteUint24(v uint32) {
145
PutBE(b.Malloc(3), v)
146
}
Callers
nothing calls this directly
Calls
2
Malloc
Method · 0.95
PutUint32
Method · 0.45
Tested by
no test coverage detected