Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer implements buffering for an io.WriteCloser object.
Writer provides access to a buffered writer that can be closed. Closing the writer will result in all remaining data being flushed from the buffer before the underlying WriteCloser is closed.
func NewWriter ¶
func NewWriter(w io.WriteCloser) *Writer
NewWriter initialises a new Writer with the default buffer size.
func NewWriterSize ¶
func NewWriterSize(w io.WriteCloser, sz int) *Writer
NewWriterSize initialises a new Writer with the provided buffer size.
Click to show internal directories.
Click to hide internal directories.