WriteBuffer

trait WriteBuffer extends Buffer
trait Buffer
class Object
trait Matchable
class Any

Value members

Abstract methods

def writeByte(position: Int, v: Byte): Int
def writeBytes(position: Int, src: Array[Byte], srcOffset: Int, length: Int): Int
def writeBytes(position: Int, src: ReadBuffer, srcPosition: Int, length: Int): Int
def writeInt(position: Int, v: Int): Int
def writeLong(position: Int, v: Long): Int
def writeShort(position: Int, v: Short): Int

Concrete methods

def writeByteAndByte(position: Int, b: Byte, v: Byte): Int
def writeByteAndDouble(position: Int, b: Byte, v: Double): Int
def writeByteAndFloat(position: Int, b: Byte, v: Float): Int
def writeByteAndInt(position: Int, b: Byte, v: Int): Int
def writeByteAndLong(position: Int, b: Byte, v: Long): Int
def writeByteAndShort(position: Int, b: Byte, v: Short): Int
def writeBytes(position: Int, src: Array[Byte]): Int
def writeDouble(position: Int, v: Double): Int
def writeFloat(position: Int, v: Float): Int

Inherited methods

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