diff --git a/msgp/write.go b/msgp/write.go index 55192222..871ceb18 100644 --- a/msgp/write.go +++ b/msgp/write.go @@ -182,7 +182,7 @@ func (mw *Writer) flush() error { // data to the underlying writer. func (mw *Writer) Flush() error { return mw.flush() } -// Buffered returns the number bytes in the write buffer +// Buffered returns the number of bytes available in the write buffer func (mw *Writer) Buffered() int { return len(mw.buf) - mw.wloc } func (mw *Writer) avail() int { return len(mw.buf) - mw.wloc }