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

Method ReadData

go/fory/slice_primitive.go:334–336  ·  view source on GitHub ↗
(ctx *ReadContext, value reflect.Value)

Source from the content-addressed store, hash-verified

332}
333
334func (s uint16SliceSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
335 *(*[]uint16)(value.Addr().UnsafePointer()) = ReadUint16Slice(ctx.Buffer(), ctx.Err())
336}
337
338// ============================================================================
339// uint32SliceSerializer - optimized []uint32 serialization

Callers 1

ReadMethod · 0.95

Calls 3

ReadUint16SliceFunction · 0.85
BufferMethod · 0.45
ErrMethod · 0.45

Tested by

no test coverage detected