trait Decoder extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Decoder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def readByte: Byte
Decodes a single byte
- abstract def readByteArray(len: Int): Array[Byte]
- abstract def readByteArray(): Array[Byte]
Decodes an array of Bytes
- abstract def readByteBuffer: ByteBuffer
Decodes a ByteBuffer
- abstract def readChar: Char
Decodes a UTF-8 encoded character (1-3 bytes) and produces a single UTF-16 character
- abstract def readDouble: Double
Decodes a 64-bit double (8 bytes)
- abstract def readDoubleArray(len: Int): Array[Double]
- abstract def readDoubleArray(): Array[Double]
Decodes an array of Doubles
- abstract def readFloat: Float
Decodes a 32-bit float (4 bytes)
- abstract def readFloatArray(len: Int): Array[Float]
- abstract def readFloatArray(): Array[Float]
Decodes an array of Floats
- abstract def readInt: Int
Decodes a 32-bit integer
- abstract def readIntArray(len: Int): Array[Int]
- abstract def readIntArray(): Array[Int]
Decodes an array of Integers
- abstract def readIntCode: Either[Byte, Int]
Decodes a 32-bit integer, or returns the first byte if it doesn't contain a valid encoding marker
- abstract def readLong: Long
Decodes a 64-bit integer
- abstract def readLongCode: Either[Byte, Long]
Decodes a 64-bit long, or returns the first byte if it doesn't contain a valid encoding marker
- abstract def readRawInt: Int
- abstract def readRawLong: Long
- abstract def readShort: Short
Decodes a 16-bit integer
- abstract def readString(len: Int): String
Decodes a string whose length is already known
Decodes a string whose length is already known
- len
Length of the string (in bytes)
- abstract def readString: String
Decodes a string
Concrete 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()
- 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()