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

Method WriteByte_

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

Source from the content-addressed store, hash-verified

196}
197
198func (b *ByteBuffer) WriteByte_(value byte) {
199 b.grow(1)
200 b.data[b.writerIndex] = value
201 b.writerIndex++
202}
203
204func (b *ByteBuffer) WriteInt8(value int8) {
205 b.grow(1)

Callers 9

TestVarintFunction · 0.95
TestDecimalOOMFunction · 0.95
testBufferFunction · 0.95
writeMetaStringMethod · 0.80
writeHeaderFunction · 0.80
RawInt8Method · 0.80
WriteByteMethod · 0.80
writeFastMethod · 0.80

Calls 1

growMethod · 0.95

Tested by 3

TestVarintFunction · 0.76
TestDecimalOOMFunction · 0.76