BytesBytesLikeInstance

class Object
trait Matchable
class Any

Value members

Concrete methods

def asArray(bytes: Bytes): Array[Byte]
def asAsciiString(bytes: Bytes): String
def asBuffer(bytes: Bytes): ByteBuffer
def asString(bytes: Bytes, charset: Charset): String
def asUtf8String(bytes: Bytes): String
def ascii(s: String): Bytes
def concat(left: Bytes, right: Bytes): Bytes
def copyBuffer(buffer: ByteBuffer): Bytes
def copyFromArray(bytes: Array[Byte]): Bytes
def copyFromArray(bytes: Array[Byte], offset: Int, size: Int): Bytes
def copyToArray(value: Bytes, array: Array[Byte], sourceOffset: Int, targetOffset: Int, length: Int): Unit
def copyToBuffer(b: Bytes, buffer: ByteBuffer): Int
def eq(l: Bytes, r: Bytes): Boolean
def foreach(bytes: Bytes, f: Byte => Unit): Unit
def get(bytes: Bytes, i: Long): Byte
def indexOf(where: Bytes, that: Byte): Long
def indexOf(where: Bytes, that: Byte, from: Long): Long
def indexOfSlice(where: Bytes, that: Bytes): Long
def lastIndexOf(where: Bytes, that: Byte): Long
def lastIndexOfSlice(where: Bytes, that: Bytes): Long
def length(bytes: Bytes): Long
def mapWithIndex(bytes: Bytes, f: (Byte, Long) => Byte): Bytes
def slice(bytes: Bytes, start: Long, end: Long): Bytes
def utf8(s: String): Bytes
def wrapArray(bytes: Array[Byte]): Bytes

Inherited methods

def as[T2 : BytesLike](that: Bytes): T2
Inherited from:
BytesLike
def asHexString(bytes: Bytes): String
Inherited from:
BytesLike