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

Method write

thrift/binary.go:341–344  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

339}
340
341func (w *binaryWriter) write(b []byte) error {
342 _, err := w.w.Write(b)
343 return err
344}
345
346func (w *binaryWriter) writeString(s string) error {
347 _, err := io.WriteString(w.w, s)

Callers 10

WriteInt16Method · 0.95
WriteInt32Method · 0.95
WriteInt64Method · 0.95
WriteFloat64Method · 0.95
WriteBytesMethod · 0.95
WriteMessageMethod · 0.95
writeByteMethod · 0.95
WriteBytesMethod · 0.80
writeUvarintMethod · 0.80
writeVarintMethod · 0.80

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected