trait Reader extends AnyRef
- Alphabetic
- By Inheritance
- Reader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
CH
Type of encoded data
Abstract Value Members
-
abstract
def
consumed: Int
Returns the number of decoded elements
Returns the number of decoded elements
- returns
The number of decoded elements
-
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
-
abstract
def
getBoolean(): Boolean
Decode boolean
Decode boolean
- returns
boolean
-
abstract
def
getByte(): Byte
Decode signed byte
Decode signed byte
- returns
Byte
-
abstract
def
getBytes(size: Int): Array[Byte]
Decode array of byte values
Decode array of byte values
- size
expected size of decoded array
-
abstract
def
getChunk(size: Int): CH
Returns encoded data at current position
-
abstract
def
getInt(): Int
Decode signed Int.
Decode signed Int.
- returns
signed Int
-
abstract
def
getLong(): Long
Decode signed Long.
Decode signed Long.
- returns
signed Long
-
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
-
abstract
def
getShort(): Short
Decode signed short
Decode signed short
- returns
Short
-
abstract
def
getShortString(): String
Decode String is shorter than 256 bytes
-
abstract
def
getUByte(): Int
Decode positive Byte
Decode positive Byte
- returns
signed Int
-
abstract
def
getUInt(): Long
Decode positive Int.
Decode positive Int.
- returns
signed Long
-
abstract
def
getULong(): Long
Decode positive Long.
Decode positive Long.
- returns
signed Long
-
abstract
def
getUShort(): Int
Decode positive Short.
Decode positive Short.
- returns
signed Int
-
abstract
def
mark(): Reader.this.type
Sets the mark to current position
-
abstract
def
newReader(chunk: CH): Aux[CH]
Creates new instance of this Reader
Creates new instance of this Reader
- chunk
encoded data
-
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
-
abstract
def
position: Int
Returns current position
Returns current position
- returns
position
-
abstract
def
position_=(p: Int): Unit
Sets position
Sets position
- p
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
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated