An instance of za.co.absa.cobrix.cobol.parser.stream.SimpleStream as the source of bytes.
The number of bytes to keep in the look back buffer.
Searches the stream for the specified sequence of bytes.
Searches the stream for the specified sequence of bytes. Returns the index of the beginning of the found sequence, -1 if not found.
Searches the sequence of bytes outsize of the lookback buffer.
Searches the sequence of bytes outsize of the lookback buffer. Returns the index of the beginning of the found sequence, -1 if not found.
This is a stream with a lookback buffer. It allows you to read bytes from it and sometime go back and fetch previous bytes. It also supports searching for a specific sequence of bytes.
The pattern of usage for this stream is this.