open class DelegatingMutableBytes : MutableBytes
(source)
A class that holds and delegates all operations to its inner bytes field.
This class may be used to create more types that represent bytes, but need a different name for business logic.
<init> |
DelegatingMutableBytes(delegate: MutableBytes!) |
and |
open fun and(other: Bytes!): Bytes! open fun <T : MutableBytes!> and(other: Bytes!, result: T): T |
appendTo |
open fun appendTo(byteBuffer: ByteBuffer!): Unit open fun appendTo(buffer: Buffer!): Unit |
bitLength |
open fun bitLength(): Int |
clear |
open fun clear(): Unit |
commonPrefix |
open fun commonPrefix(other: Bytes!): Bytes! |
commonPrefixLength |
open fun commonPrefixLength(other: Bytes!): Int |
copy |
open fun copy(): Bytes! |
copyTo |
open fun copyTo(destination: MutableBytes!): Unit open fun copyTo(destination: MutableBytes!, destinationOffset: Int): Unit |
decrement |
open fun decrement(): MutableBytes! |
equals |
open fun equals(other: Any?): Boolean |
fill |
open fun fill(b: Byte): Unit |
get |
open fun get(i: Int): Byte |
getInt |
open fun getInt(i: Int): Int |
getLong |
open fun getLong(i: Int): Long |
hashCode |
open fun hashCode(): Int |
hasLeadingZero |
open fun hasLeadingZero(): Boolean |
hasLeadingZeroByte |
open fun hasLeadingZeroByte(): Boolean |
increment |
open fun increment(): MutableBytes! |
isZero |
open fun isZero(): Boolean |
mutableCopy |
open fun mutableCopy(): MutableBytes! |
mutableSlice |
open fun mutableSlice(i: Int, length: Int): MutableBytes! |
not |
open fun <T : MutableBytes!> not(result: T): T |
numberOfLeadingZeroBytes |
open fun numberOfLeadingZeroBytes(): Int |
numberOfLeadingZeros |
open fun numberOfLeadingZeros(): Int |
or |
open fun or(other: Bytes!): Bytes! open fun <T : MutableBytes!> or(other: Bytes!, result: T): T |
set |
open fun set(i: Int, b: Byte): Unit |
setInt |
open fun setInt(i: Int, value: Int): Unit |
setLong |
open fun setLong(i: Int, value: Long): Unit |
shiftLeft |
open fun <T : MutableBytes!> shiftLeft(distance: Int, result: T): T |
shiftRight |
open fun <T : MutableBytes!> shiftRight(distance: Int, result: T): T |
size |
open fun size(): Int |
slice |
open fun slice(index: Int): Bytes! open fun slice(index: Int, length: Int): Bytes! |
toArray |
open fun toArray(): ByteArray! |
toArrayUnsafe |
open fun toArrayUnsafe(): ByteArray! |
toBigInteger |
open fun toBigInteger(): BigInteger! |
toHexString |
open fun toHexString(): String! |
toInt |
open fun toInt(): Int |
toLong |
open fun toLong(): Long |
toShortHexString |
open fun toShortHexString(): String! |
toString |
open fun toString(): String |
toUnsignedBigInteger |
open fun toUnsignedBigInteger(): BigInteger! |
update |
open fun update(digest: MessageDigest!): Unit |
xor |
open fun xor(other: Bytes!): Bytes! open fun <T : MutableBytes!> xor(other: Bytes!, result: T): T |