bytes
Module Contents
alltypes
Module Contents
abstract class AbstractBytes : Bytes
interface Bytes : Comparable<Bytes!>
Module Contents
open fun and(other: Bytes!): Bytes!
open fun <T : MutableBytes!> and(other: Bytes!, result: T): T
open fun <T : Appendable!> appendHexTo(appendable: T): T
open fun appendTo(byteBuffer: ByteBuffer!): Unit
open fun appendTo(buffer: Buffer!): Unit
open fun bitLength(): Int
open fun commonPrefix(other: Bytes!): Bytes!
open fun commonPrefixLength(other: Bytes!): Int
open fun compareTo(other: Bytes!): Int
open static fun concatenate(vararg values: Bytes!): Bytes!
abstract fun copy(): Bytes!
open fun copyTo(destination: MutableBytes!): Unit
open fun copyTo(destination: MutableBytes!, destinationOffset: Int): Unit
static val EMPTY: Bytes!
open static fun fromBase64String(str: CharSequence!): Bytes!
open static fun fromHexString(str: CharSequence!): Bytes!
open static fun fromHexString(str: CharSequence!, destinationSize: Int): Bytes!
open static fun fromHexStringLenient(str: CharSequence!): Bytes!
open static fun fromHexStringLenient(str: CharSequence!, destinationSize: Int): Bytes!
abstract fun get(i: Int): Byte
open fun getInt(i: Int): Int
open fun getInt(i: Int, order: ByteOrder!): Int
open fun getLong(i: Int): Long
open fun getLong(i: Int, order: ByteOrder!): Long
open fun hasLeadingZero(): Boolean
open fun hasLeadingZeroByte(): Boolean
open fun isEmpty(): Boolean
open fun isZero(): Boolean
open static fun minimalBytes(value: Long): Bytes!
abstract fun mutableCopy(): MutableBytes!
open fun not(): Bytes!
open fun <T : MutableBytes!> not(result: T): T
open fun numberOfLeadingZeroBytes(): Int
open fun numberOfLeadingZeros(): Int
open fun numberOfTrailingZeroBytes(): Int
open static fun of(vararg bytes: Byte): Bytes!
open static fun of(vararg bytes: Int): Bytes!
open static fun ofUnsignedInt(value: Long): Bytes!
open static fun ofUnsignedInt(value: Long, order: ByteOrder!): Bytes!
open static fun ofUnsignedLong(value: Long): Bytes!
open static fun ofUnsignedLong(value: Long, order: ByteOrder!): Bytes!
open static fun ofUnsignedShort(value: Int): Bytes!
open static fun ofUnsignedShort(value: Int, order: ByteOrder!): Bytes!
open fun or(other: Bytes!): Bytes!
open fun <T : MutableBytes!> or(other: Bytes!, result: T): T
open static fun random(size: Int): Bytes!
open static fun random(size: Int, generator: Random!): Bytes!
open fun reverse(): Bytes!
open fun shiftLeft(distance: Int): Bytes!
open fun <T : MutableBytes!> shiftLeft(distance: Int, result: T): T
open fun shiftRight(distance: Int): Bytes!
open fun <T : MutableBytes!> shiftRight(distance: Int, result: T): T
abstract fun size(): Int
open fun slice(i: Int): Bytes!
abstract fun slice(i: Int, length: Int): Bytes!
open fun toArray(): ByteArray!
open fun toArrayUnsafe(): ByteArray!
open fun toBase64String(): String!
open fun toBigInteger(): BigInteger!
open fun toBigInteger(order: ByteOrder!): BigInteger!
open fun toEllipsisHexString(): String!
open fun toHexString(): String!
open fun toInt(): Int
open fun toInt(order: ByteOrder!): Int
open fun toLong(): Long
open fun toLong(order: ByteOrder!): Long
open fun toQuantityHexString(): String!
open fun toShortHexString(): String!
open fun toUnprefixedHexString(): String!
open fun toUnsignedBigInteger(): BigInteger!
open fun toUnsignedBigInteger(order: ByteOrder!): BigInteger!
open fun trimLeadingZeros(): Bytes!
open fun update(digest: MessageDigest!): Unit
open static fun wrap(value: ByteArray!): Bytes!
open static fun wrap(value: ByteArray!, offset: Int, length: Int): Bytes!
open static fun wrap(vararg values: Bytes!): Bytes!
open static fun wrapBuffer(buffer: Buffer!): Bytes!
open static fun wrapBuffer(buffer: Buffer!, offset: Int, size: Int): Bytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!): Bytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!, offset: Int, size: Int): Bytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!): Bytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!, offset: Int, size: Int): Bytes!
open fun xor(other: Bytes!): Bytes!
open fun <T : MutableBytes!> xor(other: Bytes!, result: T): T
interface Bytes32 : Bytes
interface Bytes48 : Bytes
open class DelegatingBytes : AbstractBytes, Bytes
open class DelegatingBytes32 : AbstractBytes, Bytes32
open class DelegatingBytes48 : AbstractBytes, Bytes48
open class MutableByteBufferWrappingBytes : ByteBufferWrappingBytes, MutableBytes
interface MutableBytes : Bytes
Module Contents
open fun clear(): Unit
open static fun create(size: Int): MutableBytes!
open fun decrement(): MutableBytes!
static val EMPTY: MutableBytes!
open fun fill(b: Byte): Unit
open fun increment(): MutableBytes!
abstract fun mutableSlice(i: Int, length: Int): MutableBytes!
open static fun of(vararg bytes: Byte): MutableBytes!
open static fun of(vararg bytes: Int): MutableBytes!
abstract fun set(i: Int, b: Byte): Unit
open fun setInt(i: Int, value: Int): Unit
open fun setLong(i: Int, value: Long): Unit
open static fun wrap(value: ByteArray!): MutableBytes!
open static fun wrap(value: ByteArray!, offset: Int, length: Int): MutableBytes!
open static fun wrapBuffer(buffer: Buffer!): MutableBytes!
open static fun wrapBuffer(buffer: Buffer!, offset: Int, size: Int): MutableBytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!): MutableBytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!, offset: Int, size: Int): MutableBytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!): MutableBytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!, offset: Int, size: Int): MutableBytes!
interface MutableBytes32 : MutableBytes, Bytes32
interface MutableBytes48 : MutableBytes, Bytes48
package org.apache.tuweni.bytes
Module Contents
abstract class AbstractBytes : Bytes
interface Bytes : Comparable<Bytes!>
Module Contents
open fun and(other: Bytes!): Bytes!
open fun <T : MutableBytes!> and(other: Bytes!, result: T): T
open fun <T : Appendable!> appendHexTo(appendable: T): T
open fun appendTo(byteBuffer: ByteBuffer!): Unit
open fun appendTo(buffer: Buffer!): Unit
open fun bitLength(): Int
open fun commonPrefix(other: Bytes!): Bytes!
open fun commonPrefixLength(other: Bytes!): Int
open fun compareTo(other: Bytes!): Int
open static fun concatenate(vararg values: Bytes!): Bytes!
abstract fun copy(): Bytes!
open fun copyTo(destination: MutableBytes!): Unit
open fun copyTo(destination: MutableBytes!, destinationOffset: Int): Unit
static val EMPTY: Bytes!
open static fun fromBase64String(str: CharSequence!): Bytes!
open static fun fromHexString(str: CharSequence!): Bytes!
open static fun fromHexString(str: CharSequence!, destinationSize: Int): Bytes!
open static fun fromHexStringLenient(str: CharSequence!): Bytes!
open static fun fromHexStringLenient(str: CharSequence!, destinationSize: Int): Bytes!
abstract fun get(i: Int): Byte
open fun getInt(i: Int): Int
open fun getInt(i: Int, order: ByteOrder!): Int
open fun getLong(i: Int): Long
open fun getLong(i: Int, order: ByteOrder!): Long
open fun hasLeadingZero(): Boolean
open fun hasLeadingZeroByte(): Boolean
open fun isEmpty(): Boolean
open fun isZero(): Boolean
open static fun minimalBytes(value: Long): Bytes!
abstract fun mutableCopy(): MutableBytes!
open fun not(): Bytes!
open fun <T : MutableBytes!> not(result: T): T
open fun numberOfLeadingZeroBytes(): Int
open fun numberOfLeadingZeros(): Int
open fun numberOfTrailingZeroBytes(): Int
open static fun of(vararg bytes: Byte): Bytes!
open static fun of(vararg bytes: Int): Bytes!
open static fun ofUnsignedInt(value: Long): Bytes!
open static fun ofUnsignedInt(value: Long, order: ByteOrder!): Bytes!
open static fun ofUnsignedLong(value: Long): Bytes!
open static fun ofUnsignedLong(value: Long, order: ByteOrder!): Bytes!
open static fun ofUnsignedShort(value: Int): Bytes!
open static fun ofUnsignedShort(value: Int, order: ByteOrder!): Bytes!
open fun or(other: Bytes!): Bytes!
open fun <T : MutableBytes!> or(other: Bytes!, result: T): T
open static fun random(size: Int): Bytes!
open static fun random(size: Int, generator: Random!): Bytes!
open fun reverse(): Bytes!
open fun shiftLeft(distance: Int): Bytes!
open fun <T : MutableBytes!> shiftLeft(distance: Int, result: T): T
open fun shiftRight(distance: Int): Bytes!
open fun <T : MutableBytes!> shiftRight(distance: Int, result: T): T
abstract fun size(): Int
open fun slice(i: Int): Bytes!
abstract fun slice(i: Int, length: Int): Bytes!
open fun toArray(): ByteArray!
open fun toArrayUnsafe(): ByteArray!
open fun toBase64String(): String!
open fun toBigInteger(): BigInteger!
open fun toBigInteger(order: ByteOrder!): BigInteger!
open fun toEllipsisHexString(): String!
open fun toHexString(): String!
open fun toInt(): Int
open fun toInt(order: ByteOrder!): Int
open fun toLong(): Long
open fun toLong(order: ByteOrder!): Long
open fun toQuantityHexString(): String!
open fun toShortHexString(): String!
open fun toUnprefixedHexString(): String!
open fun toUnsignedBigInteger(): BigInteger!
open fun toUnsignedBigInteger(order: ByteOrder!): BigInteger!
open fun trimLeadingZeros(): Bytes!
open fun update(digest: MessageDigest!): Unit
open static fun wrap(value: ByteArray!): Bytes!
open static fun wrap(value: ByteArray!, offset: Int, length: Int): Bytes!
open static fun wrap(vararg values: Bytes!): Bytes!
open static fun wrapBuffer(buffer: Buffer!): Bytes!
open static fun wrapBuffer(buffer: Buffer!, offset: Int, size: Int): Bytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!): Bytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!, offset: Int, size: Int): Bytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!): Bytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!, offset: Int, size: Int): Bytes!
open fun xor(other: Bytes!): Bytes!
open fun <T : MutableBytes!> xor(other: Bytes!, result: T): T
interface Bytes32 : Bytes
interface Bytes48 : Bytes
open class DelegatingBytes : AbstractBytes, Bytes
open class DelegatingBytes32 : AbstractBytes, Bytes32
open class DelegatingBytes48 : AbstractBytes, Bytes48
open class MutableByteBufferWrappingBytes : ByteBufferWrappingBytes, MutableBytes
interface MutableBytes : Bytes
Module Contents
open fun clear(): Unit
open static fun create(size: Int): MutableBytes!
open fun decrement(): MutableBytes!
static val EMPTY: MutableBytes!
open fun fill(b: Byte): Unit
open fun increment(): MutableBytes!
abstract fun mutableSlice(i: Int, length: Int): MutableBytes!
open static fun of(vararg bytes: Byte): MutableBytes!
open static fun of(vararg bytes: Int): MutableBytes!
abstract fun set(i: Int, b: Byte): Unit
open fun setInt(i: Int, value: Int): Unit
open fun setLong(i: Int, value: Long): Unit
open static fun wrap(value: ByteArray!): MutableBytes!
open static fun wrap(value: ByteArray!, offset: Int, length: Int): MutableBytes!
open static fun wrapBuffer(buffer: Buffer!): MutableBytes!
open static fun wrapBuffer(buffer: Buffer!, offset: Int, size: Int): MutableBytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!): MutableBytes!
open static fun wrapByteBuf(byteBuf: ByteBuf!, offset: Int, size: Int): MutableBytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!): MutableBytes!
open static fun wrapByteBuffer(byteBuffer: ByteBuffer!, offset: Int, size: Int): MutableBytes!
interface MutableBytes32 : MutableBytes, Bytes32
interface MutableBytes48 : MutableBytes, Bytes48