Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBufferSize = 368
Variables ¶
This section is empty.
Functions ¶
func NewTeeReader ¶
func NewTeeReader(reader io.ReadCloser, writer io.WriteCloser) io.ReadCloser
NewTeeReader creates an instance of ReadCloser for writing data read from the given reader into the given writer.
Types ¶
type ReadCloseTypeParser ¶
type ReadCloseTypeParser interface { io.ReadCloser ParseFileType() (types.Type, error) }
func NewReader ¶
func NewReader(in io.ReadCloser) ReadCloseTypeParser
func NewReaderWithBufferSize ¶
func NewReaderWithBufferSize(in io.ReadCloser, bufferSize int64) ReadCloseTypeParser
Click to show internal directories.
Click to hide internal directories.