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

Method WriteData

go/fory/primitive.go:308–310  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

306var globalUintSerializer = uintSerializer{}
307
308func (s uintSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
309 ctx.buffer.WriteVarUint64(value.Uint())
310}
311
312func (s uintSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
313 if refMode != RefModeNone {

Callers 1

WriteMethod · 0.95

Calls 1

WriteVarUint64Method · 0.80

Tested by

no test coverage detected