scala.io

# Codec

#### object Codec extends LowPriorityCodecImplicits

Linear Supertypes
LowPriorityCodecImplicits, AnyRef, Any
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. Codec
2. LowPriorityCodecImplicits
3. AnyRef
4. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Value Members

1. #### final def !=(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

3. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

4. #### final val ISO8859: Codec

5. #### final val UTF8: Codec

6. #### def apply(decoder: CharsetDecoder): Codec

7. #### def apply(charSet: Charset): Codec

8. #### def apply(encoding: String): Codec

9. #### final def asInstanceOf[T0]: T0

   Definition Classes
     Any

10. #### implicit def charset2codec(c: Charset): Codec

11. #### def clone(): AnyRef

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

12. #### implicit def decoder2codec(cd: CharsetDecoder): Codec

13. #### def default: Codec

14. #### 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".

15. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

16. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

17. #### implicit lazy val fallbackSystemCodec: Codec

    The Codec of Last Resort.

    The Codec of Last Resort.

    Definition Classes
      LowPriorityCodecImplicits

18. #### def fileEncodingCodec: Codec

19. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

20. #### def fromUTF8(bytes: Array[Byte], offset: Int, len: Int): Array[Char]

21. #### 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].

22. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

23. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

24. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

25. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

26. #### final def notify(): Unit

    Definition Classes
      AnyRef

27. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

28. #### implicit def string2codec(s: String): Codec

29. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

30. #### def toString(): String

    Definition Classes
      AnyRef → Any

31. #### def toUTF8(chars: Array[Char], offset: Int, len: Int): Array[Byte]

32. #### 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].

33. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

34. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

35. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from LowPriorityCodecImplicits

### Inherited from AnyRef

### Inherited from Any

### Ungrouped