Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntermediateBufferReader ¶ added in v1.4.0
type IntermediateBufferReader struct { Reader io.Reader ContentSize int64 Buffer []byte // contains filtered or unexported fields }
IntermediateBufferReader implements an io.Reader that will read from a configured Reader into an intermediate buffer, populating bytes slices passed to the Read method from the intermediate buffer.
func (*IntermediateBufferReader) Read ¶ added in v1.4.0
func (a *IntermediateBufferReader) Read(p []byte) (n int, err error)
Read populates p from the internal buffer, reading from the internal reader to refill the buffer if all of the buffer's previous content has already been written out during previous calls to Read.
Click to show internal directories.
Click to hide internal directories.