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

Method WriteString

go/fory/writer.go:230–232  ·  view source on GitHub ↗

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

(value string)

Source from the content-addressed store, hash-verified

228
229// WriteString writes a string value (caller handles nullable/type meta)
230func (c *WriteContext) WriteString(value string) {
231 writeString(c.buffer, value)
232}
233
234// WriteBoolSlice writes []bool with ref/type info
235func (c *WriteContext) WriteBoolSlice(value []bool, refMode RefMode, writeTypeInfo bool) {

Callers 14

writeRemainingFieldMethod · 0.45
writeOptionFastFunction · 0.45
ComputeStructFingerprintFunction · 0.45
reverseStackStringMethod · 0.45
ComputeDiffMethod · 0.45
WriteTypedMethod · 0.45
WriteTypedMethod · 0.45
WriteTypedMethod · 0.45
generateCodeForFileFunction · 0.45
generateCodeFunction · 0.45

Calls 1

writeStringFunction · 0.85

Tested by

no test coverage detected