MCPcopy Create free account
hub / github.com/apache/fory / WriteUint32

Method WriteUint32

go/fory/buffer.go:228–232  ·  view source on GitHub ↗
(value uint32)

Source from the content-addressed store, hash-verified

226}
227
228func (b *ByteBuffer) WriteUint32(value uint32) {
229 b.grow(4)
230 binary.LittleEndian.PutUint32(b.data[b.writerIndex:], value)
231 b.writerIndex += 4
232}
233
234func (b *ByteBuffer) WriteInt32(value int32) {
235 b.grow(4)

Callers 5

WriteDataMethod · 0.80
writeRemainingFieldMethod · 0.80
writeOptionFastFunction · 0.80
WriteDataMethod · 0.80

Calls 1

growMethod · 0.95

Tested by

no test coverage detected