ReadBuffer

trait ReadBuffer extends Buffer
trait Buffer
class Object
trait Matchable
class Any

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

@throws(scala.throws.$lessinit$greater$default$1[wvlet.airframe.msgpack.spi.InsufficientBufferException])
def ensureCapacity(position: Int, requestedLength: Int): Unit
Inherited from:
Buffer
def hasCapacity(position: Int, requestedLength: Int): Boolean
Inherited from:
Buffer
def size: Int
Inherited from:
Buffer
def slice(position: Int, size: Int): ReadBuffer

Return a (shallow) copy of the buffer.

Return a (shallow) copy of the buffer.

Inherited from:
Buffer