Returns ((input) => ((offset) => Result<string, readonly [T, DataView]>))
The parsing result and the unused rest of input
on success, or error messages on failure.
- (input): ((offset) => Result<string, readonly [T, DataView]>)
Returns ((offset) => Result<string, readonly [T, DataView]>)
- (offset): Result<string, readonly [T, DataView]>
Returns Result<string, readonly [T, DataView]>
Executes a
Decoder
with a whole source data and returns the unused rest.