c

boopickle

DecoderSize

class DecoderSize extends Decoder

Linear Supertypes
Decoder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecoderSize
  2. Decoder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DecoderSize(buf: ByteBuffer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val buf: ByteBuffer
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def readByte: Byte

    Decodes a single byte

    Decodes a single byte

    Definition Classes
    DecoderSizeDecoder
  17. def readByteArray(len: Int): Array[Byte]
    Definition Classes
    DecoderSizeDecoder
  18. def readByteArray(): Array[Byte]

    Decodes an array of Bytes

    Decodes an array of Bytes

    Definition Classes
    DecoderSizeDecoder
  19. def readByteBuffer: ByteBuffer

    Decodes a ByteBuffer

    Decodes a ByteBuffer

    Definition Classes
    DecoderSizeDecoder
  20. 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
    DecoderSizeDecoder
  21. def readDouble: Double

    Decodes a 64-bit double (8 bytes)

    Decodes a 64-bit double (8 bytes)

    Definition Classes
    DecoderSizeDecoder
  22. def readDoubleArray(len: Int): Array[Double]
    Definition Classes
    DecoderSizeDecoder
  23. def readDoubleArray(): Array[Double]

    Decodes an array of Doubles

    Decodes an array of Doubles

    Definition Classes
    DecoderSizeDecoder
  24. def readFloat: Float

    Decodes a 32-bit float (4 bytes)

    Decodes a 32-bit float (4 bytes)

    Definition Classes
    DecoderSizeDecoder
  25. def readFloatArray(len: Int): Array[Float]
    Definition Classes
    DecoderSizeDecoder
  26. def readFloatArray(): Array[Float]

    Decodes an array of Floats

    Decodes an array of Floats

    Definition Classes
    DecoderSizeDecoder
  27. 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
    DecoderSizeDecoder
  28. def readIntArray(len: Int): Array[Int]
    Definition Classes
    DecoderSizeDecoder
  29. def readIntArray(): Array[Int]

    Decodes an array of Integers

    Decodes an array of Integers

    Definition Classes
    DecoderSizeDecoder
  30. 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
    DecoderSizeDecoder
  31. 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
    DecoderSizeDecoder
  32. 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
    DecoderSizeDecoder
  33. def readRawInt: Int
    Definition Classes
    DecoderSizeDecoder
  34. def readRawLong: Long
    Definition Classes
    DecoderSizeDecoder
  35. def readShort: Short

    Decodes a 16-bit integer

    Decodes a 16-bit integer

    Definition Classes
    DecoderSizeDecoder
  36. 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
    DecoderSizeDecoder
  37. def readString: String

    Decodes a UTF-8 encoded string

    Decodes a UTF-8 encoded string

    Definition Classes
    DecoderSizeDecoder
  38. val stringCodec: StringCodecBase
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Decoder

Inherited from AnyRef

Inherited from Any

Ungrouped