package
0.0.0-20190322182713-bf6f0a60fce1
Repository: https://github.com/llvm-mirror/llgo.git
Documentation: pkg.go.dev
# Functions
NewReader returns a new Reader whose buffer has the default size.
NewReaderSize returns a new Reader whose buffer has at least the specified size.
NewReadWriter allocates a new ReadWriter that dispatches to r and w.
NewScanner returns a new Scanner to read from r.
NewWriter returns a new Writer whose buffer has the default size.
NewWriterSize returns a new Writer whose buffer has at least the specified size.
ScanBytes is a split function for a Scanner that returns each byte as a token.
ScanLines is a split function for a Scanner that returns each line of text, stripped of any trailing end-of-line marker.
ScanRunes is a split function for a Scanner that returns each UTF-8-encoded rune as a token.
ScanWords is a split function for a Scanner that returns each space-separated word of text, with surrounding spaces deleted.
# Constants
MaxScanTokenSize is the maximum size used to buffer a token.
# Variables
Errors returned by Scanner.
No description provided by the author
No description provided by the author
No description provided by the author
Errors returned by Scanner.
No description provided by the author
Errors returned by Scanner.
# Structs
Reader implements buffering for an io.Reader object.
ReadWriter stores pointers to a Reader and a Writer.
Scanner provides a convenient interface for reading data such as a file of newline-delimited lines of text.
Writer implements buffering for an io.Writer object.
# Type aliases
SplitFunc is the signature of the split function used to tokenize the input.