boopickle

Decoder

Related Doc: package boopickle

class Decoder extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Decoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Decoder(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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  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
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. def readByte: Byte

    Decodes a single byte

    Decodes a single byte

    returns

    Annotations
    @inline()
  17. def readByteBuffer: ByteBuffer

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

    returns

  19. def readDouble: Double

    Decodes a 64-bit double (8 bytes)

    Decodes a 64-bit double (8 bytes)

    returns

    Annotations
    @inline()
  20. def readFloat: Float

    Decodes a 32-bit float (4 bytes)

    Decodes a 32-bit float (4 bytes)

    returns

    Annotations
    @inline()
  21. 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
    

    returns

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

    returns

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

    returns

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

    returns

  25. def readRawInt: Int

    Annotations
    @inline()
  26. def readRawLong: Long

    Annotations
    @inline()
  27. 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)

    returns

  28. def readString: String

    Decodes a UTF-8 encoded string

    Decodes a UTF-8 encoded string

    returns

  29. val stringCodec: StringCodecFuncs

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped