class DecoderSize extends Decoder
- Alphabetic
- By Inheritance
- DecoderSize
- Decoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DecoderSize(buf: ByteBuffer)
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
- val buf: ByteBuffer
- 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()
- def readByte: Byte
Decodes a single byte
Decodes a single byte
- Definition Classes
- DecoderSize → Decoder
- def readByteArray(len: Int): Array[Byte]
- Definition Classes
- DecoderSize → Decoder
- def readByteArray(): Array[Byte]
Decodes an array of Bytes
Decodes an array of Bytes
- Definition Classes
- DecoderSize → Decoder
- def readByteBuffer: ByteBuffer
Decodes a ByteBuffer
Decodes a ByteBuffer
- Definition Classes
- DecoderSize → Decoder
- def readChar: Char
Decodes a UTF-8 encoded character (1-3 bytes) and produces a single UTF-16 character
Decodes a UTF-8 encoded character (1-3 bytes) and produces a single UTF-16 character
- Definition Classes
- DecoderSize → Decoder
- def readDouble: Double
Decodes a 64-bit double (8 bytes)
Decodes a 64-bit double (8 bytes)
- Definition Classes
- DecoderSize → Decoder
- def readDoubleArray(len: Int): Array[Double]
- Definition Classes
- DecoderSize → Decoder
- def readDoubleArray(): Array[Double]
Decodes an array of Doubles
Decodes an array of Doubles
- Definition Classes
- DecoderSize → Decoder
- def readFloat: Float
Decodes a 32-bit float (4 bytes)
Decodes a 32-bit float (4 bytes)
- Definition Classes
- DecoderSize → Decoder
- def readFloatArray(len: Int): Array[Float]
- Definition Classes
- DecoderSize → Decoder
- def readFloatArray(): Array[Float]
Decodes an array of Floats
Decodes an array of Floats
- Definition Classes
- DecoderSize → Decoder
- def readInt: Int
Decodes a 32-bit integer (1-5 bytes)
0XXX XXXX = 0 to 127 1000 XXXX b0 = 128 to 4095 1001 XXXX b0 = -1 to -4095 1010 XXXX b0 b1 = 4096 to 1048575 1011 XXXX b0 b1 = -4096 to -1048575 1100 XXXX b0 b1 b2 = 1048576 to 268435455 1101 XXXX b0 b1 b2 = -1048576 to -268435455 1110 0000 b0 b1 b2 b3 = MinInt to MaxInt 1111 ???? = reserved for special codings
Decodes a 32-bit integer (1-5 bytes)
0XXX XXXX = 0 to 127 1000 XXXX b0 = 128 to 4095 1001 XXXX b0 = -1 to -4095 1010 XXXX b0 b1 = 4096 to 1048575 1011 XXXX b0 b1 = -4096 to -1048575 1100 XXXX b0 b1 b2 = 1048576 to 268435455 1101 XXXX b0 b1 b2 = -1048576 to -268435455 1110 0000 b0 b1 b2 b3 = MinInt to MaxInt 1111 ???? = reserved for special codings
- Definition Classes
- DecoderSize → Decoder
- def readIntArray(len: Int): Array[Int]
- Definition Classes
- DecoderSize → Decoder
- def readIntArray(): Array[Int]
Decodes an array of Integers
Decodes an array of Integers
- Definition Classes
- DecoderSize → Decoder
- def readIntCode: Either[Byte, Int]
Decodes a 32-bit integer, or returns the first byte if it doesn't contain a valid encoding marker
Decodes a 32-bit integer, or returns the first byte if it doesn't contain a valid encoding marker
- Definition Classes
- DecoderSize → Decoder
- def readLong: Long
Decodes a 64-bit integer (1-9 bytes)
0XXX XXXX = 0 to 127 1000 XXXX b0 = 128 to 4095 1001 XXXX b0 = -1 to -4095 1010 XXXX b0 b1 = 4096 to 1048575 1011 XXXX b0 b1 = -4096 to -1048575 1100 XXXX b0 b1 b2 = 1048576 to 268435455 1101 XXXX b0 b1 b2 = -1048576 to -268435455 1110 0000 b0 b1 b2 b3 = MinInt to MaxInt 1110 0001 b0 b1 b2 b3 b4 b5 b6 b7 = anything larger 1111 ???? = reserved for special codings
Decodes a 64-bit integer (1-9 bytes)
0XXX XXXX = 0 to 127 1000 XXXX b0 = 128 to 4095 1001 XXXX b0 = -1 to -4095 1010 XXXX b0 b1 = 4096 to 1048575 1011 XXXX b0 b1 = -4096 to -1048575 1100 XXXX b0 b1 b2 = 1048576 to 268435455 1101 XXXX b0 b1 b2 = -1048576 to -268435455 1110 0000 b0 b1 b2 b3 = MinInt to MaxInt 1110 0001 b0 b1 b2 b3 b4 b5 b6 b7 = anything larger 1111 ???? = reserved for special codings
- Definition Classes
- DecoderSize → Decoder
- def readLongCode: Either[Byte, Long]
Decodes a 64-bit long, or returns the first byte if it doesn't contain a valid encoding marker
Decodes a 64-bit long, or returns the first byte if it doesn't contain a valid encoding marker
- Definition Classes
- DecoderSize → Decoder
- def readRawInt: Int
- Definition Classes
- DecoderSize → Decoder
- def readRawLong: Long
- Definition Classes
- DecoderSize → Decoder
- def readShort: Short
Decodes a 16-bit integer
Decodes a 16-bit integer
- Definition Classes
- DecoderSize → Decoder
- def readString(len: Int): String
Decodes a UTF-8 encoded string whose length is already known
Decodes a UTF-8 encoded string whose length is already known
- len
Length of the string (in bytes)
- Definition Classes
- DecoderSize → Decoder
- def readString: String
Decodes a UTF-8 encoded string
Decodes a UTF-8 encoded string
- Definition Classes
- DecoderSize → Decoder
- val stringCodec: StringCodecBase
- 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()