class ChannelBufferReadableBuffer extends ReadableBuffer
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.1) Internal: will be made private
- Alphabetic
- By Inheritance
- ChannelBufferReadableBuffer
- 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
- ChannelBufferReadableBuffer → ReadableBuffer
- def duplicate(): ChannelBufferReadableBuffer
- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer
- def index: Int
Returns the current read index of this buffer.
Returns the current read index of this buffer.
- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer
- def index_=(i: Int): Unit
- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer
- 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
- ChannelBufferReadableBuffer → 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
- ChannelBufferReadableBuffer → 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
- ChannelBufferReadableBuffer → ReadableBuffer
- def readInt(): Int
Reads an
Int
from this buffer.Reads an
Int
from this buffer.- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer
- def readLong(): Long
Reads a
Long
from this buffer.Reads a
Long
from this buffer.- Definition Classes
- ChannelBufferReadableBuffer → 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
- ChannelBufferReadableBuffer → ReadableBuffer
- def size: Int
Returns the buffer size.
Returns the buffer size.
- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer
- def slice(n: Int): ChannelBufferReadableBuffer
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
- ChannelBufferReadableBuffer → ReadableBuffer
- def toWritableBuffer: ChannelBufferWritableBuffer
- Definition Classes
- ChannelBufferReadableBuffer → ReadableBuffer