package reparse
Module type Reparse.INPUTSource
Represents the input.
Represents an input promise.
trim_buffer t ~pos removes data from the input buffer up till pos.
Note After the input buffer is trimmed the parser is unable to backtrack to pos less than pos.
get t ~pos ~len returns `String s where String.length s <= len or `Eof if EOI is reached.