Packages

package codec

Created by pach on 17/10/17.

Source
codec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. codec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val atomString: Codec[String]

    string that is encoded as atom *

  2. 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.

  3. 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.

  4. val dotAtomString: Codec[String]

    string that is encoded as dot-atom *

  5. def isAtomChar(c: Char): Boolean
  6. def isAtomDotChar(c: Char): Boolean
  7. val keyword: Codec[String]
  8. val msgIdCodec: Codec[@@[String, Message-ID]]
  9. val quotedString: Codec[String]

    quoted string *

  10. def toMsgIdCodec(c: Codec[String]): Codec[@@[String, Message-ID]]
  11. def verifyAtom(pred: (String) => Boolean)(s: String): Attempt[String]
  12. object DateTimeCodec
  13. object EmailAddressCodec

    Codec for email address

  14. object EmailHeaderCodec
  15. object RFC2047Codec

    Created by pach on 23/10/17.

Inherited from AnyRef

Inherited from Any

Ungrouped