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

Method WriteByte

go/fory/buffer.go:191–196  ·  view source on GitHub ↗
(value byte)

Source from the content-addressed store, hash-verified

189}
190
191func (b *ByteBuffer) WriteByte(value byte) error {
192 b.grow(1)
193 b.data[b.writerIndex] = value
194 b.writerIndex++
195 return nil
196}
197
198func (b *ByteBuffer) WriteByte_(value byte) {
199 b.grow(1)

Calls 1

growMethod · 0.95