trait VLQReader extends Reader
- Alphabetic
- By Inheritance
- VLQReader
- Reader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def consumed: Int
Returns the number of decoded elements
- abstract def getByte(): Byte
Decode signed byte
- abstract def getBytes(size: Int): Array[Byte]
Decode array of byte values
- abstract def getChunk(size: Int): CH
Returns encoded data at current position
Returns encoded data at current position
- Definition Classes
- Reader
- abstract def mark(): VLQReader.this.type
Sets the mark to current position
Sets the mark to current position
- Definition Classes
- Reader
- abstract def newReader(chunk: CH): Aux[CH]
Creates new instance of this Reader
- 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
- Definition Classes
- Reader
- abstract def position: Int
Returns current position
- abstract def position_=(p: Int): Unit
Sets position
- 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
- Definition Classes
- Reader
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getBits(size: Int): Array[Boolean]
Decode array of boolean values
- def getBoolean(): Boolean
Decode boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getInt(): Int
Decode signed Int previously encoded with VLQWriter.putInt using VLQ with ZigZag.
Decode signed Int previously encoded with VLQWriter.putInt using VLQ with ZigZag.
- returns
signed Int
- Definition Classes
- VLQReader → Reader
- Annotations
- @inline()
- Note
Uses ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQByteBufferWriter.putInt.
- See also
- def getLong(): Long
Decode signed Long previously encoded with VLQWriter.putLong using VLQ with ZigZag.
Decode signed Long previously encoded with VLQWriter.putLong using VLQ with ZigZag.
- returns
signed Long
- Definition Classes
- VLQReader → Reader
- Annotations
- @inline()
- Note
Uses ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQWriter.putLong.
- See also
- def getOption[T](getValue: => T): Option[T]
Decode optional value
- def getShort(): Short
Decode signed Short previously encoded with VLQWriter.putShort using VLQ and then ZigZag.
Decode signed Short previously encoded with VLQWriter.putShort using VLQ and then ZigZag.
- returns
signed Short
- Definition Classes
- VLQReader → Reader
- Annotations
- @inline()
- Note
Uses VLQ and then ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQByteBufferWriter.putShort.
- See also
- def getShortString(): String
Decode String is shorter than 256 bytes
- def getUByte(): Int
Decode positive Byte
- def getUInt(): Long
Decode Int previously encoded with VLQWriter.putUInt using VLQ.
Decode Int previously encoded with VLQWriter.putUInt using VLQ.
- returns
Long
- def getULong(): Long
Decode Long previously encoded with VLQWriter.putULong using VLQ.
Decode Long previously encoded with VLQWriter.putULong using VLQ.
- returns
Long
- def getUShort(): Int
Decode Short previously encoded with VLQWriter.putUShort using VLQ.
Decode Short previously encoded with VLQWriter.putUShort using VLQ.
- returns
Int
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated