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

Method WriteData

go/fory/pointer.go:37–40  ·  view source on GitHub ↗

============================================================================ ptrToValueSerializer - pointer to concrete type ============================================================================

(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

35// ============================================================================
36
37func (s *ptrToValueSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
38 elemValue := value.Elem()
39 s.valueSerializer.WriteData(ctx, elemValue)
40}
41
42func (s *ptrToValueSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
43 switch refMode {

Callers 2

WriteMethod · 0.95
writeWithTypeInfoMethod · 0.95

Calls 1

WriteDataMethod · 0.65

Tested by

no test coverage detected