|
Scala Library
|
|
scala/io/UTF8Codec.scala]
object
UTF8Codec
extends AnyRef| Value Summary | |
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
(ch1 : Int) : Array[Byte]
convert a codepoint to utf-8 bytes
|
def
|
encode (s : java.lang.String, dst : Array[Byte], to : Int) : Int |
def
|
encode (s : java.lang.String) : Array[Byte] |
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 |
| Method Details |
ch - codepoint
def
encode(s : java.lang.String, dst : Array[Byte], to : Int) : Int
def
encode(s : java.lang.String) : Array[Byte]
def
decode(src : Array[Byte], from : Int, len : Int) : java.lang.String
|
Scala Library
|
|