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

Method WriteData

go/fory/slice_primitive.go:546–548  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

544type uintSliceSerializer struct{}
545
546func (s uintSliceSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
547 WriteUintSlice(ctx.Buffer(), value.Interface().([]uint))
548}
549
550func (s uintSliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
551 var typeId TypeId = INT32_ARRAY

Callers 1

WriteMethod · 0.95

Calls 2

WriteUintSliceFunction · 0.85
BufferMethod · 0.45

Tested by

no test coverage detected