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

Method ReadString

go/fory/reader.go:281–283  ·  view source on GitHub ↗

============================================================================ Typed Read Methods - Fastpath for codegen For primitive numeric types, use ctx.Buffer().ReadXXX() For strings, use ctx.ReadString() For slices/maps, use these methods which handle ref tracking ==============================

()

Source from the content-addressed store, hash-verified

279
280// ReadString reads a string value (caller handles nullable/type meta)
281func (c *ReadContext) ReadString() string {
282 return readString(c.buffer, c.Err())
283}
284
285// ReadBoolSlice reads []bool with ref/type info
286func (c *ReadContext) ReadBoolSlice(refMode RefMode, readType bool) []bool {

Callers 7

readRemainingFieldMethod · 0.45
readOptionFastFunction · 0.45
DeserializeFunction · 0.45
ReadTypedMethod · 0.45
ReadTypedMethod · 0.45
ReadTypedMethod · 0.45

Calls 2

ErrMethod · 0.95
readStringFunction · 0.85

Tested by

no test coverage detected