Encodes as supplied ascii string constant.
Encodes as supplied ascii string constant. Drops any leading whitespace if any.
Constant to encode // decode
When true, the decoding ignores case
string encoded // decoded as ASCII *
codec that decodes until whitespace character is found.
codec that decodes until whitespace character is found. Encodes as ascii string *
Codec for decoding comma delimited parameters from header.
Codec for decoding comma delimited parameters from header. When encoding, the comma is always followed by [SP]
When decoding, the parameters are tested if they are quoted strings and if yes, the comma is skipped if within quotes
Codec for decoding delimited parameters from header.
Codec for decoding delimited parameters from header.
When encoding, the encodeBy is used to encode A
delimiter
When decoding, the parameters are tested if they are quoted strings and if yes,
the by
is skipped if within quotes
encodes // decodes time by http time format *
RFC 1123 date 2 string *
codec that decodes to Some(a) when codec decodes or None, when there are no nonempty characters left *
A codec, that allows to encode/decode parametrized values A
by parameter B
.
A codec, that allows to encode/decode parametrized values A
by parameter B
.
Parameter is optional and is discriminated by discriminator
A codec, that allows to encode/decode parametrized values A
by optional parameters of B
.
A codec, that allows to encode/decode parametrized values A
by optional parameters of B
.
Parameter is optional (may be N), and is discriminated by discriminator
furthermore if the discriminator is found in quotes (") it is ignored until cloiong quotes are found
codec for qValue in multiple parameter lists*
coder for strings that may be quoted *
splits by delimiter, honoring quoted commas *
codec that succeeds, iff star (*) is present *
ascii string that is trimmed of WS *
utf8 string that is trimmed of WS *
Tuple A, B separated by discriminator
.
Tuple A, B separated by discriminator
. This will first search for discriminator, and if match
will apply A
codec and B
codec to remaining bits, if any.
string encoded // decoded as UTF8 *
decodes as utf8 string, that will return string until pattern is matched *
codec that strips all whitespace, and encodes as supplied string.
codec that strips all whitespace, and encodes as supplied string. At least one whitespace is mandatory. *
Created by pach on 13/01/17.