MCPcopy
hub / github.com/tinylib/msgp / Writer

Struct Writer

msgp/write.go:115–119  ·  view source on GitHub ↗

Writer is a buffered writer that can be used to write MessagePack objects to an io.Writer. You must call *Writer.Flush() in order to flush all of the buffered data to the underlying writer.

Source from the content-addressed store, hash-verified

113// to flush all of the buffered data
114// to the underlying writer.
115type Writer struct {
116 w io.Writer
117 buf []byte
118 wloc int
119}
120
121// NewWriter returns a new *Writer.
122func NewWriter(w io.Writer) *Writer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected