Documentation ¶
Overview ¶
Package recordioiov provides utility functions for dealing with [][]bytes, used by recordio transformers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IOVecReader ¶
type IOVecReader struct {
// contains filtered or unexported fields
}
IOVecReader is an io.Reader adapter for [][]byte.
func NewIOVecReader ¶
func NewIOVecReader(buf [][]byte) IOVecReader
NewIOVecReader creates a new io.Reader that reads from the given buf.
func (*IOVecReader) Read ¶
func (r *IOVecReader) Read(p []byte) (int, error)
Read implements the io.Reader interface.
func (*IOVecReader) ReadByte ¶
func (r *IOVecReader) ReadByte() (byte, error)
ReadByte reads one byte from the reader. On EOF, returns (0, io.EOF).
Click to show internal directories.
Click to hide internal directories.