Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedSourceTypeBOM = errors.New("source type not support by BOM based encoding")
Plain file encoding not transforming any read bytes.
Functions ¶
This section is empty.
Types ¶
type EncodingFactory ¶
func FindEncoding ¶
func FindEncoding(name string) (EncodingFactory, bool)
FindEncoding searches for an EncodingFactoryby name.
type LineReader ¶
type LineReader struct {
// contains filtered or unexported fields
}
lineReader reads lines from underlying reader, decoding the input stream using the configured codec. The reader keeps track of bytes consumed from raw input stream for every decoded line.
func NewLineReader ¶
func (*LineReader) Next ¶
func (l *LineReader) Next() ([]byte, int, error)
Click to show internal directories.
Click to hide internal directories.