opaque type Bytes
- Source
- Bytes.scala
Def
Byte
Byte
Reads the next short from input as Int in range 0 <>> 256
Returns -1 if no more data
- Source
- Bytes.scala
To array
To array
Reads input byte to given Array
- Value Params
- range
Array range to use. By default the full array is used
- Returns
the total number of byte read into the array, or -1 if there is no more data
- Source
- Bytes.scala
Byte option
Byte option
Optionally returns next short from input
If no more data, VOID is returned
- Source
- Bytes.scala
Real value
Real value
Returns real value standing behind the opaque type.
This is a zero cost call.
- Inherited from
- _methods
- Source
- Base.scala