Documentation
¶
Index ¶
Constants ¶
View Source
const ( EolNl = iota EolCr EolCrNl EolCustom )
Variables ¶
View Source
var ( ErrBufferFull = errors.New("reader: buffer full") ErrNegativeCount = errors.New("reader: negative count") )
Functions ¶
This section is empty.
Types ¶
type CustomReader ¶
type CustomReader struct {
ReaderBase
// contains filtered or unexported fields
}
func NewCustomReader ¶
func NewCustomReader(rd io.Reader, size int, lineDelimiter string) *CustomReader
type ReaderBase ¶
type ReaderBase struct {
// contains filtered or unexported fields
}
func (*ReaderBase) Count ¶
func (b *ReaderBase) Count() int
func (*ReaderBase) Read ¶
func (b *ReaderBase) Read() ([]byte, error)
type TextReader ¶
type TextReader struct {
ReaderBase
EolType int
}
func NewTextReader ¶
func NewTextReader(rd io.Reader, size int, eolType int) *TextReader
type VirtualMethod ¶
type VirtualMethod interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.