Packages

c

io.github.vigoo.desert.internal

JavaStreamBinaryInput

class JavaStreamBinaryInput extends BinaryInput

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

Instance Constructors

  1. new JavaStreamBinaryInput(stream: InputStream)

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def readByte(): Byte

    Reads one byte from the input

    Reads one byte from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  15. final def readBytes(count: Int): Array[Byte]

    Reads N bytes from the input into an array

    Reads N bytes from the input into an array

    count

    Number of bytes to read

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  16. def readCompressedByteArray(): Array[Byte]

    Reads a compressed byte array from the input

    Reads a compressed byte array from the input

    It assumes to have two variable-length integer representing the uncompressed and the compressed data length followed by the ZIP-compressed array of bytes. Counterpart of BinaryOutput.writeCompressedByteArray

    Definition Classes
    BinaryInput
  17. def readDouble(): Double

    Reads a 64-bit floating point value from the input

    Reads a 64-bit floating point value from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  18. def readFloat(): Float

    Reads a 32-bit floating point value from the input

    Reads a 32-bit floating point value from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  19. final def readInt(): Int

    Reads a 32-bit integer from the input

    Reads a 32-bit integer from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  20. final def readLong(): Long

    Reads a 64-bit integer from the input

    Reads a 64-bit integer from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  21. final def readShort(): Short

    Reads a 16-bit integer from the input

    Reads a 16-bit integer from the input

    Definition Classes
    JavaStreamBinaryInputBinaryInput
  22. def readVarInt(optimizeForPositive: Boolean): Int

    Reads a variable-length encoded 32-bit integer from the input

    Reads a variable-length encoded 32-bit integer from the input

    The encoding takes 1-5 bytes.

    Based on https://github.com/EsotericSoftware/kryo/blob/master/src/com/esotericsoftware/kryo/io/ByteBufferInput.java#L366

    optimizeForPositive

    If true, the encoding was optimized for positive integers. This parameter must match the one passed to the BinaryOutput.writeVarInt

    Definition Classes
    BinaryInput
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from BinaryInput

Inherited from AnyRef

Inherited from Any

Ungrouped