Codec

scala.io.Codec
See theCodec companion class

Attributes

Companion
class
Source
Codec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Codec.type

Members list

Value members

Concrete methods

def apply(encoding: String): Codec

Attributes

Source
Codec.scala
def apply(charSet: Charset): Codec

Attributes

Source
Codec.scala
def apply(decoder: CharsetDecoder): Codec

Attributes

Source
Codec.scala
def default: Codec

Attributes

Source
Codec.scala

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

Attributes

Source
Codec.scala

Attributes

Source
Codec.scala
def fromUTF8(bytes: Array[Byte]): Array[Char]

Attributes

Source
Codec.scala
def fromUTF8(bytes: Array[Byte], offset: Int, len: Int): Array[Char]

Attributes

Source
Codec.scala

Attributes

Source
Codec.scala
def toUTF8(chars: Array[Char], offset: Int, len: Int): Array[Byte]

Attributes

Source
Codec.scala

Concrete fields

final val ISO8859: Codec

Attributes

Source
Codec.scala
final val UTF8: Codec

Attributes

Source
Codec.scala

Implicits

Implicits

implicit def charset2codec(c: Charset): Codec

Attributes

Source
Codec.scala
implicit def decoder2codec(cd: CharsetDecoder): Codec

Attributes

Source
Codec.scala
implicit def string2codec(s: String): Codec

Attributes

Source
Codec.scala

Inherited implicits

implicit lazy val fallbackSystemCodec: Codec

The Codec of Last Resort.

The Codec of Last Resort.

Attributes

Inherited from:
LowPriorityCodecImplicits
Source
Codec.scala