Packages

case class ArrayReadableBuffer extends ReadableBuffer with Product with Serializable

An array-backed readable buffer.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayReadableBuffer
  2. Serializable
  3. Product
  4. Equals
  5. ReadableBuffer
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def discard(n: Int): Unit

    Sets the read index to index + n (in other words, skips n bytes).

    Sets the read index to index + n (in other words, skips n bytes).

    Definition Classes
    ArrayReadableBufferReadableBuffer
  2. def duplicate(): ArrayReadableBuffer
    Definition Classes
    ArrayReadableBufferReadableBuffer
  3. def index: Int

    Returns the current read index of this buffer.

    Returns the current read index of this buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  4. def index_=(i: Int): Unit
    Definition Classes
    ArrayReadableBufferReadableBuffer
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. 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
  7. def readByte(): Byte

    Reads a Byte from this buffer.

    Reads a Byte from this buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  8. 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
    ArrayReadableBufferReadableBuffer
  9. def readCString(): String

    Reads a UTF-8 C-Style String.

    Reads a UTF-8 C-Style String.

    Definition Classes
    ReadableBuffer
  10. def readDouble(): Double

    Reads a Double from this buffer.

    Reads a Double from this buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  11. def readInt(): Int

    Reads an Int from this buffer.

    Reads an Int from this buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  12. def readLong(): Long

    Reads a Long from this buffer.

    Reads a Long from this buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  13. def readString(): String

    Reads a UTF-8 String.

    Reads a UTF-8 String.

    Definition Classes
    ReadableBuffer
  14. 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
    ArrayReadableBufferReadableBuffer
  15. def size: Int

    Returns the buffer size.

    Returns the buffer size.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  16. def slice(n: Int): ArrayReadableBuffer

    Returns a new instance of ReadableBuffer, which starts at the current index and contains n bytes.

    Returns a new instance of ReadableBuffer, which starts at the current index and contains n bytes.

    This method does not update the read index of the original buffer.

    Definition Classes
    ArrayReadableBufferReadableBuffer
  17. def toWritableBuffer: WritableBuffer
    Definition Classes
    ArrayReadableBufferReadableBuffer