package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Apr 7, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package countingreader implements an io.Reader that counts the number of
bytes read.
type Reader struct {
ReadBytes uint64
}
Reader wraps an io.Reader, counting the total number of bytes read. It will
wrap around after reading 16 exbibytes, which is assumed to be sufficient.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.