Class

boopickle

DecoderSize

Related Doc: package boopickle

Permalink

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. All

Instance Constructors

  1. new DecoderSize(buf: ByteBuffer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val buf: ByteBuffer

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def readByte: Byte

    Permalink

    Decodes a single byte

    Decodes a single byte

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

    Permalink
    Definition Classes
    DecoderSizeDecoder
  18. def readByteArray(): Array[Byte]

    Permalink

    Decodes an array of Bytes

    Decodes an array of Bytes

    Definition Classes
    DecoderSizeDecoder
  19. def readByteBuffer: ByteBuffer

    Permalink

    Decodes a ByteBuffer

    Decodes a ByteBuffer

    Definition Classes
    DecoderSizeDecoder
  20. def readChar: Char

    Permalink

    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

    Permalink

    Decodes a 64-bit double (8 bytes)

    Decodes a 64-bit double (8 bytes)

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

    Permalink
    Definition Classes
    DecoderSizeDecoder
  23. def readDoubleArray(): Array[Double]

    Permalink

    Decodes an array of Doubles

    Decodes an array of Doubles

    Definition Classes
    DecoderSizeDecoder
  24. def readFloat: Float

    Permalink

    Decodes a 32-bit float (4 bytes)

    Decodes a 32-bit float (4 bytes)

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

    Permalink
    Definition Classes
    DecoderSizeDecoder
  26. def readFloatArray(): Array[Float]

    Permalink

    Decodes an array of Floats

    Decodes an array of Floats

    Definition Classes
    DecoderSizeDecoder
  27. def readInt: Int

    Permalink

    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]

    Permalink
    Definition Classes
    DecoderSizeDecoder
  29. def readIntArray(): Array[Int]

    Permalink

    Decodes an array of Integers

    Decodes an array of Integers

    Definition Classes
    DecoderSizeDecoder
  30. def readIntCode: Either[Byte, Int]

    Permalink

    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

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    DecoderSizeDecoder
  34. def readRawLong: Long

    Permalink
    Definition Classes
    DecoderSizeDecoder
  35. def readShort: Short

    Permalink

    Decodes a 16-bit integer

    Decodes a 16-bit integer

    Definition Classes
    DecoderSizeDecoder
  36. def readString(len: Int): String

    Permalink

    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

    Permalink

    Decodes a UTF-8 encoded string

    Decodes a UTF-8 encoded string

    Definition Classes
    DecoderSizeDecoder
  38. val stringCodec: StringCodecFuncs

    Permalink
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Decoder

Inherited from AnyRef

Inherited from Any

Ungrouped