Decodes bytes util f
holds.
Decodes bytes util f
holds. Encodes as identity
drops while f
holds.
drops while f
holds. Then when encoding uses encodeAs
*
creates duration from specified units *
encodes duration in Ms for Int *
When decoding takes up bytes if open and close character are found.
When decoding takes up bytes if open and close character are found. if there are multiple open characters found, this decodes until matching close characters are found. When encoding wraps the result of codec to open and close characters
encodes as ms since epoch *
Float encoded as string value
Applies predicate f
to check whether A
was decoded successfully, or may be encoded.
Applies predicate f
to check whether A
was decoded successfully, or may be encoded.
If f
yields to String, then this signals failure
Int encoded as string value
int codec, that allows min/max bounds inclusive *
Int encoded as string value
correct version of lookahead that won't encode codec
when encoding *
like Recover codec, but with fixed encode *
string codec, that allows min/max bounds on size inclusive *
tags value A
with T
*
takes bytes until f
holds, then decodes via codec
*
A codec that takes all bytes until discriminator
is found.
A codec that takes all bytes until discriminator
is found. Then codec
is applied to get A
Remainder AFTER discriminator is returned
takes bytes until char or chars are encountered *
Decodes bytes that are terminated by supplied byte, and then applies codec on bytes decoded
differs from codec ~ delimiter
so the delimiter is scanned first and then codec
is applied.
Decodes bytes that are terminated by supplied byte, and then applies codec on bytes decoded
differs from codec ~ delimiter
so the delimiter is scanned first and then codec
is applied.
The delimiter is not part of any remainder returned when decoding.
instead using delimiter to encode, encDelimiter is used.
codec that decodes codec, until EOL signature is found.
codec that decodes codec, until EOL signature is found. EOL is defined as crlf or lf only*
codec that takes until any whitespace and then this applies supplied codec *
Performs Xor operation of codec
with or