ByteArrayBuffer

wvlet.airframe.msgpack.io.ByteArrayBuffer
See theByteArrayBuffer companion object
class ByteArrayBuffer(a: Array[Byte], offset: Int, size: Int) extends ByteArrayBufferBase

Attributes

Companion:
object
Graph
Supertypes
trait Buffer
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

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

Attributes

Inherited from:
ByteArrayBufferBase
def hasCapacity(position: Int, byteLength: Int): Boolean

Attributes

Inherited from:
ByteArrayBufferBase
override def readByte(position: Int): Byte

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int, dest: WriteBuffer, destIndex: Int): Unit

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int, dest: Array[Byte], destOffset: Int): Unit

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int): Array[Byte]

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
def readDouble(position: Int): Double

Attributes

Inherited from:
ReadBuffer
def readFloat(position: Int): Float

Attributes

Inherited from:
ReadBuffer
override def readInt(position: Int): Int

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def readLong(position: Int): Long

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def readShort(position: Int): Short

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
override def slice(position: Int, newSize: Int): ReadBuffer

Return a (shallow) copy of the buffer.

Return a (shallow) copy of the buffer.

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
def toByteArray(position: Int, arraySize: Int): Array[Byte]

Attributes

Inherited from:
ByteArrayBufferBase
def writeByte(position: Int, v: Byte): Int

Attributes

Inherited from:
ByteArrayBufferBase
def writeByteAndByte(position: Int, b: Byte, v: Byte): Int

Attributes

Inherited from:
WriteBuffer
def writeByteAndDouble(position: Int, b: Byte, v: Double): Int

Attributes

Inherited from:
WriteBuffer
def writeByteAndFloat(position: Int, b: Byte, v: Float): Int

Attributes

Inherited from:
WriteBuffer
def writeByteAndInt(position: Int, b: Byte, v: Int): Int

Attributes

Inherited from:
WriteBuffer
def writeByteAndLong(position: Int, b: Byte, v: Long): Int

Attributes

Inherited from:
WriteBuffer
def writeByteAndShort(position: Int, b: Byte, v: Short): Int

Attributes

Inherited from:
WriteBuffer
override def writeBytes(position: Int, src: ReadBuffer, srcPosition: Int, length: Int): Int

Attributes

Definition Classes
Inherited from:
ByteArrayBufferBase
def writeBytes(position: Int, source: Array[Byte], sourceOffset: Int, length: Int): Int

Attributes

Inherited from:
ByteArrayBufferBase
def writeBytes(position: Int, src: Array[Byte]): Int

Attributes

Inherited from:
WriteBuffer
def writeDouble(position: Int, v: Double): Int

Attributes

Inherited from:
WriteBuffer
def writeFloat(position: Int, v: Float): Int

Attributes

Inherited from:
WriteBuffer
def writeInt(position: Int, v: Int): Int

Attributes

Inherited from:
ByteArrayBufferBase
def writeLong(position: Int, v: Long): Int

Attributes

Inherited from:
ByteArrayBufferBase
def writeShort(position: Int, v: Short): Int

Attributes

Inherited from:
ByteArrayBufferBase

Inherited fields

protected var capacity: Int

Attributes

Inherited from:
ByteArrayBufferBase