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

Method WriteData

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

Source from the content-addressed store, hash-verified

260var globalUint64Serializer = uint64Serializer{}
261
262func (s uint64Serializer) WriteData(ctx *WriteContext, value reflect.Value) {
263 ctx.buffer.WriteVarUint64(value.Uint())
264}
265
266func (s uint64Serializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
267 _ = hasGenerics

Callers 1

WriteMethod · 0.95

Calls 1

WriteVarUint64Method · 0.80

Tested by

no test coverage detected