ByteArrayBuffer

class ByteArrayBuffer(a: Array[Byte], offset: Int, size: Int) extends ByteArrayBufferBase
Companion:
object
trait Buffer
class Object
trait Matchable
class Any

Value members

Inherited methods

def ensureCapacity(position: Int, requestedLength: Int): Unit
Inherited from:
ByteArrayBufferBase
def hasCapacity(position: Int, byteLength: Int): Boolean
Inherited from:
ByteArrayBufferBase
override def readByte(position: Int): Byte
Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int, dest: WriteBuffer, destIndex: Int): Unit
Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int, dest: Array[Byte], destOffset: Int): Unit
Definition Classes
Inherited from:
ByteArrayBufferBase
override def readBytes(position: Int, length: Int): Array[Byte]
Definition Classes
Inherited from:
ByteArrayBufferBase
def readDouble(position: Int): Double
Inherited from:
ReadBuffer
def readFloat(position: Int): Float
Inherited from:
ReadBuffer
override def readInt(position: Int): Int
Definition Classes
Inherited from:
ByteArrayBufferBase
override def readLong(position: Int): Long
Definition Classes
Inherited from:
ByteArrayBufferBase
override def readShort(position: Int): Short
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.

Definition Classes
Inherited from:
ByteArrayBufferBase
def toByteArray(position: Int, arraySize: Int): Array[Byte]
Inherited from:
ByteArrayBufferBase
def writeByte(position: Int, v: Byte): Int
Inherited from:
ByteArrayBufferBase
def writeByteAndByte(position: Int, b: Byte, v: Byte): Int
Inherited from:
WriteBuffer
def writeByteAndDouble(position: Int, b: Byte, v: Double): Int
Inherited from:
WriteBuffer
def writeByteAndFloat(position: Int, b: Byte, v: Float): Int
Inherited from:
WriteBuffer
def writeByteAndInt(position: Int, b: Byte, v: Int): Int
Inherited from:
WriteBuffer
def writeByteAndLong(position: Int, b: Byte, v: Long): Int
Inherited from:
WriteBuffer
def writeByteAndShort(position: Int, b: Byte, v: Short): Int
Inherited from:
WriteBuffer
override def writeBytes(position: Int, src: ReadBuffer, srcPosition: Int, length: Int): Int
Definition Classes
Inherited from:
ByteArrayBufferBase
def writeBytes(position: Int, source: Array[Byte], sourceOffset: Int, length: Int): Int
Inherited from:
ByteArrayBufferBase
def writeBytes(position: Int, src: Array[Byte]): Int
Inherited from:
WriteBuffer
def writeDouble(position: Int, v: Double): Int
Inherited from:
WriteBuffer
def writeFloat(position: Int, v: Float): Int
Inherited from:
WriteBuffer
def writeInt(position: Int, v: Int): Int
Inherited from:
ByteArrayBufferBase
def writeLong(position: Int, v: Long): Int
Inherited from:
ByteArrayBufferBase
def writeShort(position: Int, v: Short): Int
Inherited from:
ByteArrayBufferBase

Inherited fields

protected var capacity: Int
Inherited from:
ByteArrayBufferBase