MCPcopy Create free account
hub / github.com/segmentio/encoding / writeString

Method writeString

thrift/binary.go:346–349  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

344}
345
346func (w *binaryWriter) writeString(s string) error {
347 _, err := io.WriteString(w.w, s)
348 return err
349}
350
351func (w *binaryWriter) writeByte(b byte) error {
352 // The special cases are intended to reduce the runtime overheadof testing

Callers 3

WriteStringMethod · 0.95
WriteMessageMethod · 0.95
WriteStringMethod · 0.80

Calls 1

WriteStringMethod · 0.65

Tested by

no test coverage detected