Decodes bytes util f
holds.
Decodes bytes util f
holds. Encodes as identity
creates duration from specified units *
encodes duration in Ms for Int *
encodes as ms since epoch *
Float encoded as string value
Int encoded as string value
int codec, that allows min/max bounds inclusive *
Int 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
string codec, that allows min/max bounds on size inclusive *
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
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.
Performs Xor operation of codec
with or