Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoioHandle ¶
type AutoioHandle struct { Fp *os.File Scanner *bufio.Scanner Writer *bufio.Writer Reader *bufio.Reader ReadScanValid bool FirstReadScan bool Bz2Reader io.Reader GzReader *gzip.Reader FileType string Error error ByteLine []byte ByteBuf []byte }
Wrap common stream file types into one for ease of scanning
func CreateWriter ¶
func CreateWriter(fn string) (h AutoioHandle, err error)
func OpenReadScanner ¶
func OpenReadScanner(fn string) (h AutoioHandle, err error)
func OpenReadScannerSimple ¶
func OpenReadScannerSimple(fn string) (h AutoioHandle, err error)
func OpenScanner ¶
func OpenScanner(fn string) (h AutoioHandle, err error)
func (*AutoioHandle) BufferLine ¶
func (h *AutoioHandle) BufferLine() (bool, error)
func (*AutoioHandle) Close ¶
func (h *AutoioHandle) Close() error
func (*AutoioHandle) Err ¶
func (h *AutoioHandle) Err() error
func (*AutoioHandle) Flush ¶
func (h *AutoioHandle) Flush()
func (*AutoioHandle) ReadScan ¶
func (h *AutoioHandle) ReadScan() bool
func (*AutoioHandle) ReadText ¶
func (h *AutoioHandle) ReadText() string
Click to show internal directories.
Click to hide internal directories.