Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountWriter ¶
type CountWriter struct {
// contains filtered or unexported fields
}
func (*CountWriter) Size ¶
func (c *CountWriter) Size() (n int64)
type PositionTrackerReader ¶ added in v0.5.0
type PositionTrackerReader struct {
// contains filtered or unexported fields
}
PositionTrackerReader is an `io.Reader` that tracks the current read position in an underlying `io.Reader`
func NewPositionTrackerReader ¶ added in v0.5.0
func NewPositionTrackerReader(r io.Reader) *PositionTrackerReader
NewPositionTrackerReader creates a new PositionTrackerReader with the initial position set to 0.
func (*PositionTrackerReader) CurrentPos ¶ added in v0.5.0
func (p *PositionTrackerReader) CurrentPos() int64
CurrentPos is the current position of the PositionTrackerReader
Click to show internal directories.
Click to hide internal directories.