Documentation ¶
Overview ¶
Package bytecounter contains a reader/writer that allows to count bytes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadWriter ¶
ReadWriter allows to count read and written bytes.
func NewReadWriter ¶
func NewReadWriter(rw io.ReadWriter) *ReadWriter
NewReadWriter allocates a ReadWriter.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader allows to count read bytes.
Click to show internal directories.
Click to hide internal directories.