scala.io

object UTF8Codec

[source: scala/io/UTF8Codec.scala]

object UTF8Codec
extends AnyRef
Author
Martin Odersky
Version
1.0, 04/10/2004
Value Summary
final val UNI_REPLACEMENT_BYTES : Array[Byte]
final val UNI_REPLACEMENT_CHAR : Int
Method Summary
def decode (src : Array[Byte], from : Int, dst : Array[Char], to : Int, len : Int) : Int
def decode (src : Array[Byte], from : Int, len : Int) : java.lang.String
def encode (s : java.lang.String) : Array[Byte]
def encode (ch : Int) : Array[Byte]
def encode (s : java.lang.String, dst : Array[Byte], to : Int) : Int
def encode (src : Array[Char], from : Int, dst : Array[Byte], to : Int, len : Int) : Int
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
final val UNI_REPLACEMENT_CHAR : Int

final val UNI_REPLACEMENT_BYTES : Array[Byte]

Method Details
@deprecated("Use new String(Array(ch), 0, 1).getBytes("UTF-8") instead")

def encode(ch : Int) : Array[Byte]

@deprecated("Use Codec.fromUTF8 instead")

def encode(src : Array[Char], from : Int, dst : Array[Byte], to : Int, len : Int) : Int

@deprecated("Use Codec.fromUTF8 instead")

def encode(s : java.lang.String, dst : Array[Byte], to : Int) : Int

@deprecated("Use Codec.fromUTF8 instead")

def encode(s : java.lang.String) : Array[Byte]

@deprecated("Use Codec.toUTF8 instead")

def decode(src : Array[Byte], from : Int, dst : Array[Char], to : Int, len : Int) : Int

@deprecated("Use Codec.toUTF8 instead")

def decode(src : Array[Byte], from : Int, len : Int) : java.lang.String