Versions in this module Expand all Collapse all v1 v1.8.0 Jan 12, 2022 v1.7.0 Jan 3, 2022 Changes in this version + type Writer struct + func NewWriter(w io.Writer) *Writer + func NewWriterSize(w io.Writer, size int, align int) *Writer + func (b *Writer) Available() int + func (b *Writer) Buffered() int + func (b *Writer) Flush() error + func (b *Writer) Reset(w io.Writer) + func (b *Writer) Size() int + func (b *Writer) Write(p []byte) (int, error) + func (b *Writer) WriteHeader(buf []byte, hdr *header) (int, error) + func (b *Writer) WriteV2(p []byte) (int, error)