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

Method WriteUint64

go/fory/buffer.go:260–264  ·  view source on GitHub ↗
(value uint64)

Source from the content-addressed store, hash-verified

258}
259
260func (b *ByteBuffer) WriteUint64(value uint64) {
261 b.grow(8)
262 binary.LittleEndian.PutUint64(b.data[b.writerIndex:], value)
263 b.writerIndex += 8
264}
265
266func (b *ByteBuffer) WriteInt64(value int64) {
267 b.grow(8)

Callers 4

WriteDataMethod · 0.80
writeRemainingFieldMethod · 0.80
writeOptionFastFunction · 0.80

Calls 1

growMethod · 0.95

Tested by

no test coverage detected