object StringCodec extends StringCodecBase
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringCodec
- StringCodecBase
- StringCodecFast
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def decodeFast(len: Int, buf: ByteBuffer): String
String decoding function for a special 1-3 byte encoding of 16-bit char values
String decoding function for a special 1-3 byte encoding of 16-bit char values
- len
How many bytes to decode
- buf
Buffer containing the data
- returns
String with decoded data
- Definition Classes
- StringCodec → StringCodecFast
- def decodeFastArray(len: Int, buf: ByteBuffer): String
Faster decoding for array backed buffers
Faster decoding for array backed buffers
- Attributes
- protected
- Definition Classes
- StringCodecFast
- def decodeFastBuf(len: Int, buf: ByteBuffer): String
Decoding for normal non-array
ByteBuffer
Decoding for normal non-array
ByteBuffer
- Attributes
- protected
- Definition Classes
- StringCodecFast
- def decodeFastTypedArray(len: Int, buf: ByteBuffer): String
- Attributes
- protected
- def decodeUTF16(len: Int, buf: ByteBuffer): String
- Definition Classes
- StringCodec → StringCodecBase
- def decodeUTF8(len: Int, buf: ByteBuffer): String
- Definition Classes
- StringCodec → StringCodecBase
- def encodeFast(s: String, bb: ByteBuffer): Unit
String encoding function for a special 1-3 byte encoding of 16-bit char values
String encoding function for a special 1-3 byte encoding of 16-bit char values
- s
String to encode
- returns
ByteBuffer
with the encoded data
- Definition Classes
- StringCodec → StringCodecFast
- def encodeFastArray(s: String, bb: ByteBuffer): Unit
- Definition Classes
- StringCodecFast
- def encodeFastBuf(s: String, bb: ByteBuffer): Unit
- Definition Classes
- StringCodecFast
- def encodeFastTypedArray(s: String, bb: ByteBuffer): Unit
- Attributes
- protected
- def encodeUTF16(str: String): ByteBuffer
- Definition Classes
- StringCodec → StringCodecBase
- def encodeUTF8(str: String): ByteBuffer
- Definition Classes
- StringCodec → StringCodecBase
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()