Packages

class ChannelBufferReadableBuffer extends ReadableBuffer

Annotations
@deprecated
Deprecated

(Since version 0.19.1) Internal: will be made private

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelBufferReadableBuffer
  2. ReadableBuffer
  3. AnyRef
  4. 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

Instance Constructors

  1. new ChannelBufferReadableBuffer(buffer: ByteBuf)

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
    ChannelBufferReadableBufferReadableBuffer
  2. def duplicate(): ChannelBufferReadableBuffer
  3. def index: Int

    Returns the current read index of this buffer.

    Returns the current read index of this buffer.

    Definition Classes
    ChannelBufferReadableBufferReadableBuffer
  4. def index_=(i: Int): Unit
  5. 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
  6. def readByte(): Byte

    Reads a Byte from this buffer.

    Reads a Byte from this buffer.

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

    Reads a UTF-8 C-Style String.

    Reads a UTF-8 C-Style String.

    Definition Classes
    ReadableBuffer
  9. def readDouble(): Double

    Reads a Double from this buffer.

    Reads a Double from this buffer.

    Definition Classes
    ChannelBufferReadableBufferReadableBuffer
  10. def readInt(): Int

    Reads an Int from this buffer.

    Reads an Int from this buffer.

    Definition Classes
    ChannelBufferReadableBufferReadableBuffer
  11. def readLong(): Long

    Reads a Long from this buffer.

    Reads a Long from this buffer.

    Definition Classes
    ChannelBufferReadableBufferReadableBuffer
  12. def readString(): String

    Reads a UTF-8 String.

    Reads a UTF-8 String.

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

    Returns the buffer size.

    Returns the buffer size.

    Definition Classes
    ChannelBufferReadableBufferReadableBuffer
  15. def slice(n: Int): ChannelBufferReadableBuffer

    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
    ChannelBufferReadableBufferReadableBuffer
  16. def toWritableBuffer: ChannelBufferWritableBuffer