Packages

trait Reader extends AnyRef

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

Type Members

  1. abstract type CH

    Type of encoded data

Abstract Value Members

  1. abstract def consumed: Int

    Returns the number of decoded elements

    Returns the number of decoded elements

    returns

    The number of decoded elements

  2. abstract def getBits(size: Int): Array[Boolean]

    Decode array of boolean values

    Decode array of boolean values

    size

    expected size of decoded array

    returns

    decoded array of boolean values

  3. abstract def getBoolean(): Boolean

    Decode boolean

    Decode boolean

    returns

    boolean

  4. abstract def getByte(): Byte

    Decode signed byte

    Decode signed byte

    returns

    Byte

  5. abstract def getBytes(size: Int): Array[Byte]

    Decode array of byte values

    Decode array of byte values

    size

    expected size of decoded array

  6. abstract def getChunk(size: Int): CH

    Returns encoded data at current position

  7. abstract def getInt(): Int

    Decode signed Int.

    Decode signed Int.

    returns

    signed Int

  8. abstract def getLong(): Long

    Decode signed Long.

    Decode signed Long.

    returns

    signed Long

  9. abstract def getOption[T](getValue: => T): Option[T]

    Decode optional value

    Decode optional value

    getValue

    function to decode value, if optional value is nonempty

    returns

    optional value

  10. abstract def getShort(): Short

    Decode signed short

    Decode signed short

    returns

    Short

  11. abstract def getShortString(): String

    Decode String is shorter than 256 bytes

  12. abstract def getUByte(): Int

    Decode positive Byte

    Decode positive Byte

    returns

    signed Int

  13. abstract def getUInt(): Long

    Decode positive Int.

    Decode positive Int.

    returns

    signed Long

  14. abstract def getULong(): Long

    Decode positive Long.

    Decode positive Long.

    returns

    signed Long

  15. abstract def getUShort(): Int

    Decode positive Short.

    Decode positive Short.

    returns

    signed Int

  16. abstract def mark(): Reader.this.type

    Sets the mark to current position

  17. abstract def newReader(chunk: CH): Aux[CH]

    Creates new instance of this Reader

    Creates new instance of this Reader

    chunk

    encoded data

  18. abstract def peekByte(): Byte

    Get a byte at current position without advancing the position.

    Get a byte at current position without advancing the position.

    returns

    byte at current position

  19. abstract def position: Int

    Returns current position

    Returns current position

    returns

    position

  20. abstract def position_=(p: Int): Unit

    Sets position

    Sets position

    p

    position

  21. abstract def remaining: Int

    Returns the number of elements between the current position and the end of Reader

    Returns the number of elements between the current position and the end of Reader

    returns

    The number of elements remaining in th Reader

Concrete 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 synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. 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 AnyRef

Inherited from Any

Ungrouped