Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
191
func
(b *ByteBuffer) WriteByte(value byte) error {
192
b.grow(1)
193
b.data[b.writerIndex] = value
194
b.writerIndex++
195
return
nil
196
}
197
198
func
(b *ByteBuffer) WriteByte_(value byte) {
199
b.grow(1)
Callers
15
TestMetaStringResolverSmallCacheKeyIncludesLengthAndEncoding
Function · 0.95
TestMetaStringResolverReadCachesAreCapped
Function · 0.95
TestSkipEnumConsumesSmall7Ordinal
Function · 0.95
TestSkipPrimitiveConsumesExactEncoding
Function · 0.95
TestSkipMapRejectsInvalidChunkSize
Function · 0.95
TestDeserializeByteSliceAcceptsUint8ArrayRootType
Function · 0.95
typeDefTestBodyWithoutFields
Function · 0.95
TestTypeDefFieldCountOOMPanic
Function · 0.95
TestTypeDefRejectsReservedGlobalHeaderBits
Function · 0.95
TestTypeDefRejectsTrailingMetadataBytes
Function · 0.95
TestTypeDefRejectsNamespaceLengthBeyondMetadata
Function · 0.95
TestTypeDefRejectsFieldNameLengthBeyondMetadata
Function · 0.95
Calls
1
grow
Method · 0.95
Tested by
12
TestMetaStringResolverSmallCacheKeyIncludesLengthAndEncoding
Function · 0.76
TestMetaStringResolverReadCachesAreCapped
Function · 0.76
TestSkipEnumConsumesSmall7Ordinal
Function · 0.76
TestSkipPrimitiveConsumesExactEncoding
Function · 0.76
TestSkipMapRejectsInvalidChunkSize
Function · 0.76
TestDeserializeByteSliceAcceptsUint8ArrayRootType
Function · 0.76
typeDefTestBodyWithoutFields
Function · 0.76
TestTypeDefFieldCountOOMPanic
Function · 0.76
TestTypeDefRejectsReservedGlobalHeaderBits
Function · 0.76
TestTypeDefRejectsTrailingMetadataBytes
Function · 0.76
TestTypeDefRejectsNamespaceLengthBeyondMetadata
Function · 0.76
TestTypeDefRejectsFieldNameLengthBeyondMetadata
Function · 0.76