package codec
- Alphabetic
- By Inheritance
- codec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- val atomString: Codec[String]
string that is encoded as atom *
- def cfwsSeparated[A](codec: Codec[A]): Codec[(A, List[A])]
Decodes
A
where the individual items are separated by folding whitespace as per RFC.Decodes
A
where the individual items are separated by folding whitespace as per RFC. Encodes by inserting\r\n
(CFWS) between individual items.Individual
A
encodings may not contain whitespace character. - def commaSeparated[A](codec: Codec[A], fold: Boolean): Codec[(A, List[A])]
Creates a codec, that decodes list of comma separated values.
Creates a codec, that decodes list of comma separated values.
There must be at least one
A
decoded for this to succeed- fold
If true, then folding whitespace is inserted while encoding.
- val dotAtomString: Codec[String]
string that is encoded as dot-atom *
- def isAtomChar(c: Char): Boolean
- def isAtomDotChar(c: Char): Boolean
- val keyword: Codec[String]
- val msgIdCodec: Codec[@@[String, Message-ID]]
- val quotedString: Codec[String]
quoted string *
- def toMsgIdCodec(c: Codec[String]): Codec[@@[String, Message-ID]]
- def verifyAtom(pred: (String) => Boolean)(s: String): Attempt[String]
- object DateTimeCodec
- object EmailAddressCodec
Codec for email address
- object EmailHeaderCodec
- object RFC2047Codec
Created by pach on 23/10/17.