Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrite = errors.New("failed to write")
Functions ¶
func ParseByteSize ¶ added in v1.1.0
Types ¶
type WriterCounter ¶
WriterCounter is counter for io.Writer.
func NewWriterCounter ¶
func NewWriterCounter(w io.Writer) *WriterCounter
NewWriterCounter function create new WriterCounter.
func (*WriterCounter) Count ¶
func (counter *WriterCounter) Count() uint64
Count function return counted bytes.
Click to show internal directories.
Click to hide internal directories.