Packages

object Codec extends LowPriorityCodecImplicits

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

Value Members

  1. final val ISO8859: Codec
  2. final val UTF8: Codec
  3. def apply(decoder: CharsetDecoder): Codec
  4. def apply(charSet: Charset): Codec
  5. def apply(encoding: String): Codec
  6. implicit def charset2codec(c: Charset): Codec
  7. implicit def decoder2codec(cd: CharsetDecoder): Codec
  8. def default: Codec
  9. def defaultCharsetCodec: Codec

    Optimistically these two possible defaults will be the same thing.

    Optimistically these two possible defaults will be the same thing. In practice this is not necessarily true, and in fact Sun classifies the fact that you can influence anything at all via -Dfile.encoding as an accident, with any anomalies considered "not a bug".

  10. implicit lazy val fallbackSystemCodec: Codec

    The Codec of Last Resort.

    The Codec of Last Resort.

    Definition Classes
    LowPriorityCodecImplicits
  11. def fileEncodingCodec: Codec
  12. def fromUTF8(bytes: Array[Byte], offset: Int, len: Int): Array[Char]
  13. def fromUTF8(bytes: Array[Byte]): Array[Char]
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) This method was previously misnamed toUTF8. Converts from Array[Byte] to Array[Char].

  14. implicit def string2codec(s: String): Codec
  15. def toUTF8(chars: Array[Char], offset: Int, len: Int): Array[Byte]
  16. def toUTF8(cs: CharSequence): Array[Byte]
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) This method was previously misnamed fromUTF8. Converts from character sequence to Array[Byte].