ByteArrayBufferBase

abstract
class ByteArrayBufferBase(var a: Array[Byte], offset: Int, var capacity: Int) extends ReadBuffer with WriteBuffer
trait Buffer
class Object
trait Matchable
class Any

Value members

Concrete methods

def ensureCapacity(position: Int, requestedLength: Int): Unit
def hasCapacity(position: Int, byteLength: Int): Boolean
override
def readByte(position: Int): Byte
Definition Classes
override
def readBytes(position: Int, length: Int): Array[Byte]
Definition Classes
override
def readBytes(position: Int, length: Int, dest: Array[Byte], destOffset: Int): Unit
Definition Classes
override
def readBytes(position: Int, length: Int, dest: WriteBuffer, destIndex: Int): Unit
Definition Classes
override
def readInt(position: Int): Int
Definition Classes
override
def readLong(position: Int): Long
Definition Classes
override
def readShort(position: Int): Short
Definition Classes
def size: Int
override
def slice(position: Int, newSize: Int): ReadBuffer
Definition Classes
def toByteArray(position: Int, arraySize: Int): Array[Byte]
def writeByte(position: Int, v: Byte): Int
def writeBytes(position: Int, source: Array[Byte], sourceOffset: Int, length: Int): Int
override
def writeBytes(position: Int, src: ReadBuffer, srcPosition: Int, length: Int): Int
Definition Classes
def writeInt(position: Int, v: Int): Int
def writeLong(position: Int, v: Long): Int
def writeShort(position: Int, v: Short): Int

Inherited methods

def readDouble(position: Int): Double
Inherited from
ReadBuffer
def readFloat(position: Int): Float
Inherited from
ReadBuffer
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
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

Concrete fields

protected
var capacity: Int