Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UTF16LE UTF16 little endian, most common (windows) UTF16LE = iota // UTF16BE UTF16 big endian UTF16BE // GBK18030 // GB2312 // HZGB2312 // GBK // BIG5 )
Variables ¶
View Source
var NoopParser *noopParser
NoopParser is the default parser and does nothing
Functions ¶
This section is empty.
Types ¶
type DecodingParser ¶
type DecodingParser struct {
// contains filtered or unexported fields
}
DecodingParser a generic decoding Parser
func NewDecodingParser ¶
func NewDecodingParser(e Encoding) *DecodingParser
NewDecodingParser build a new DecodingParser
func (*DecodingParser) SupportsPartialLine ¶
func (p *DecodingParser) SupportsPartialLine() bool
SupportsPartialLine returns false as it does not support partial lines
Click to show internal directories.
Click to hide internal directories.