Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
210
func
(b *ByteBuffer) WriteUint8(value uint8) {
211
b.grow(1)
212
b.data[b.writerIndex] = value
213
b.writerIndex++
214
}
215
216
func
(b *ByteBuffer) WriteUint16(value uint16) {
217
b.grow(2)
Callers
15
TestDeserializeByteSliceAcceptsUint8ArrayRootType
Function · 0.95
TestTypeDefRejectsFieldNameLengthBeyondMetadata
Function · 0.95
TestPrimitiveMapReaderRejectsInvalidChunkSize
Function · 0.95
TestPrimitiveMapReaderRejectsUnexpectedTypeInfo
Function · 0.95
TestPrimitiveMapReaderRejectsNullChunks
Function · 0.95
TestDecimalRejectsNonCanonicalBigPayload
Function · 0.95
TestDecimalOOM
Function · 0.95
WriteTypeInfo
Method · 0.80
writeSharedTypeMeta
Method · 0.80
Write
Method · 0.80
writeDataWithGenerics
Method · 0.80
WriteStringSlice
Function · 0.80
Calls
1
grow
Method · 0.95
Tested by
7
TestDeserializeByteSliceAcceptsUint8ArrayRootType
Function · 0.76
TestTypeDefRejectsFieldNameLengthBeyondMetadata
Function · 0.76
TestPrimitiveMapReaderRejectsInvalidChunkSize
Function · 0.76
TestPrimitiveMapReaderRejectsUnexpectedTypeInfo
Function · 0.76
TestPrimitiveMapReaderRejectsNullChunks
Function · 0.76
TestDecimalRejectsNonCanonicalBigPayload
Function · 0.76
TestDecimalOOM
Function · 0.76