WriteBuffer

wvlet.airframe.msgpack.spi.WriteBuffer
trait WriteBuffer extends Buffer

Attributes

Graph
Supertypes
trait Buffer
class Object
trait Matchable
class Any
Known subtypes

Members list

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

Attributes

Inherited from:
Buffer
def hasCapacity(position: Int, requestedLength: Int): Boolean

Attributes

Inherited from:
Buffer
def size: Int

Attributes

Inherited from:
Buffer
def slice(position: Int, size: Int): ReadBuffer

Return a (shallow) copy of the buffer.

Return a (shallow) copy of the buffer.

Attributes

Inherited from:
Buffer