case class ArrayReadableBuffer extends ReadableBuffer with Product with Serializable
An array-backed readable buffer.
- Alphabetic
- By Inheritance
- ArrayReadableBuffer
- Serializable
- Product
- Equals
- ReadableBuffer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- def discard(n: Int): Unit
Sets the read index to
index + n
(in other words, skipsn
bytes).Sets the read index to
index + n
(in other words, skipsn
bytes).- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def duplicate(): ArrayReadableBuffer
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def index: Int
Returns the current read index of this buffer.
Returns the current read index of this buffer.
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def index_=(i: Int): Unit
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def readArray(length: Int): Array[Byte]
Reads an array of Byte of the given length.
Reads an array of Byte of the given length.
- length
the length of the newly created array.
- Definition Classes
- ReadableBuffer
- def readByte(): Byte
Reads a
Byte
from this buffer.Reads a
Byte
from this buffer.- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def readBytes(array: Array[Byte]): Unit
Fills the given array with the bytes read from this buffer.
Fills the given array with the bytes read from this buffer.
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def readCString(): String
Reads a UTF-8 C-Style String.
Reads a UTF-8 C-Style String.
- Definition Classes
- ReadableBuffer
- def readDouble(): Double
Reads a
Double
from this buffer.Reads a
Double
from this buffer.- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def readInt(): Int
Reads an
Int
from this buffer.Reads an
Int
from this buffer.- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def readLong(): Long
Reads a
Long
from this buffer.Reads a
Long
from this buffer.- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def readString(): String
Reads a UTF-8 String.
Reads a UTF-8 String.
- Definition Classes
- ReadableBuffer
- def readable(): Int
Returns the number of readable remaining bytes of this buffer.
Returns the number of readable remaining bytes of this buffer.
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def size: Int
Returns the buffer size.
Returns the buffer size.
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def slice(n: Int): ArrayReadableBuffer
Returns a new instance of
ReadableBuffer
, which starts at the current index and containsn
bytes.Returns a new instance of
ReadableBuffer
, which starts at the current index and containsn
bytes.This method does not update the read index of the original buffer.
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer
- def toWritableBuffer: WritableBuffer
- Definition Classes
- ArrayReadableBuffer → ReadableBuffer