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

Method WriteUint8

go/fory/buffer.go:210–214  ·  view source on GitHub ↗
(value uint8)

Source from the content-addressed store, hash-verified

208}
209
210func (b *ByteBuffer) WriteUint8(value uint8) {
211 b.grow(1)
212 b.data[b.writerIndex] = value
213 b.writerIndex++
214}
215
216func (b *ByteBuffer) WriteUint16(value uint16) {
217 b.grow(2)

Calls 1

growMethod · 0.95