Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer interface {
io.Writer
// Len returns the number of buffered bytes.
Len() int
// Flush writes any buffered data to the underlying writer.
Flush() error
// Reset discards the unwritten data, clears the error and sets a new destination.
Reset(io.Writer)
// Free frees the writer, releases its internal resources.
Free()
}
Writer buffers small writes and flushes them to an underlying writer.
Click to show internal directories.
Click to hide internal directories.