ReadBuffer

wvlet.airframe.msgpack.spi.ReadBuffer
trait ReadBuffer extends Buffer

Attributes

Graph
Supertypes
trait Buffer
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def readByte(position: Int): Byte
def readBytes(position: Int, length: Int): Array[Byte]
def readBytes(position: Int, length: Int, dest: Array[Byte], destOffset: Int): Unit
def readBytes(position: Int, length: Int, dest: WriteBuffer, destIndex: Int): Unit
def readInt(position: Int): Int
def readLong(position: Int): Long
def readShort(position: Int): Short

Concrete methods

def readDouble(position: Int): Double
def readFloat(position: Int): Float

Inherited methods

def ensureCapacity(position: Int, requestedLength: Int): Unit

Attributes

Inherited from:
Buffer
def hasCapacity(position: Int, requestedLength: Int): Boolean

Attributes

Inherited from:
Buffer
def size: Int

Attributes

Inherited from:
Buffer
def slice(position: Int, size: Int): ReadBuffer

Return a (shallow) copy of the buffer.

Return a (shallow) copy of the buffer.

Attributes

Inherited from:
Buffer