LookAheadBuffer provides I/O look ahead functionality. This is particularly useful for building parsers. NOTE: LookAheadBuffer has similar functionality as bufio.Reader. However, unlike bufio.Reader, LookAheadBuffer's raw buffer size will EXACTLY match the specified size (whereas bufio.Reader's buffer size may differ from the specified size). This property ensures the buffer will not accidentally read beyond the expected size.

LookAheadBuffer is referenced in 1 repository