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.
| 113 | // to flush all of the buffered data |
| 114 | // to the underlying writer. |
| 115 | type Writer struct { |
| 116 | w io.Writer |
| 117 | buf []byte |
| 118 | wloc int |
| 119 | } |
| 120 | |
| 121 | // NewWriter returns a new *Writer. |
| 122 | func NewWriter(w io.Writer) *Writer { |
nothing calls this directly
no outgoing calls
no test coverage detected