package
2.7.20
Repository: https://github.com/tdewolff/parse.git
Documentation: pkg.go.dev

# Functions

NewLexer returns a new Lexer for a given io.Reader, and uses io.ReadAll to read it into a byte slice.
NewLexerBytes returns a new Lexer for a given byte slice, and appends NULL at the end.
NewReader returns a new Reader for a given byte slice.
NewStaticWriter returns a new Writer for a given byte slice.
NewStreamLexer returns a new StreamLexer for a given io.Reader with a 4kB estimated buffer size.
NewStreamLexerSize returns a new StreamLexer for a given io.Reader and estimated required buffer size.
NewWriter returns a new Writer for a given byte slice.

# Variables

MinBuf specifies the default initial length of internal buffers.

# Structs

Lexer is a buffered reader that allows peeking forward and shifting, taking an io.Reader.
Reader implements an io.Reader over a byte slice.
StreamLexer is a buffered reader that allows peeking forward and shifting, taking an io.Reader.
Writer implements an io.Writer over a byte slice.