Index

A B C D E F G H I L M N O R S T U W X Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractBytes - Class in org.apache.tuweni.bytes
An abstract Bytes value that provides implementations of AbstractBytes.equals(Object), AbstractBytes.hashCode() and AbstractBytes.toString().
AbstractBytes() - Constructor for class org.apache.tuweni.bytes.AbstractBytes
 
and(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
Return a bit-wise AND of these bytes and the supplied bytes.
and(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
and(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
and(Bytes32) - Method in interface org.apache.tuweni.bytes.Bytes32
Return a bit-wise AND of these bytes and the supplied bytes.
and(Bytes48) - Method in interface org.apache.tuweni.bytes.Bytes48
Return a bit-wise AND of these bytes and the supplied bytes.
and(Bytes, T) - Method in interface org.apache.tuweni.bytes.Bytes
Calculate a bit-wise AND of these bytes and the supplied bytes.
and(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
and(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
appendHexTo(T) - Method in interface org.apache.tuweni.bytes.Bytes
Append this value as a sequence of hexadecimal characters.
appendHexTo(T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
appendTo(Buffer) - Method in interface org.apache.tuweni.bytes.Bytes
Append the bytes of this value to the provided Vert.x Buffer.
appendTo(Buffer) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
appendTo(Buffer) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
appendTo(ByteBuffer) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
appendTo(ByteBuffer) - Method in interface org.apache.tuweni.bytes.Bytes
Append the bytes of this value to the ByteBuffer.
appendTo(ByteBuffer) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
appendTo(ByteBuffer) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

B

bitLength() - Method in interface org.apache.tuweni.bytes.Bytes
Provides the number of bits following and including the highest-order ("leftmost") one-bit, or zero if all bits are zero.
bitLength() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
bitLength() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
byteBuffer - Variable in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
Bytes - Interface in org.apache.tuweni.bytes
A value made of bytes.
Bytes32 - Interface in org.apache.tuweni.bytes
A Bytes value that is guaranteed to contain exactly 32 bytes.
Bytes48 - Interface in org.apache.tuweni.bytes
A Bytes value that is guaranteed to contain exactly 48 bytes.

C

clear() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
clear() - Method in interface org.apache.tuweni.bytes.MutableBytes
Set all bytes in this value to 0.
commonPrefix(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
Return a slice over the common prefix between this set of bytes and another.
commonPrefix(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
commonPrefix(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
commonPrefixLength(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
Return the number of bytes in common between this set of bytes and another.
commonPrefixLength(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
commonPrefixLength(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
compareTo(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
 
compareTo(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
computeHashcode() - Method in class org.apache.tuweni.bytes.AbstractBytes
 
concatenate(List<Bytes>) - Static method in interface org.apache.tuweni.bytes.Bytes
Create a value containing the concatenation of the values provided.
concatenate(Bytes...) - Static method in interface org.apache.tuweni.bytes.Bytes
Create a value containing the concatenation of the values provided.
copy() - Method in interface org.apache.tuweni.bytes.Bytes
Return a value equivalent to this one but guaranteed to 1) be deeply immutable (i.e.
copy() - Method in interface org.apache.tuweni.bytes.Bytes32
 
copy() - Method in interface org.apache.tuweni.bytes.Bytes48
 
copy() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
copy() - Method in class org.apache.tuweni.bytes.DelegatingBytes32
 
copy() - Method in class org.apache.tuweni.bytes.DelegatingBytes48
 
copy() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
copy() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
copyTo(MutableBytes) - Method in interface org.apache.tuweni.bytes.Bytes
Copy the bytes of this value to the provided mutable one, which must have the same size.
copyTo(MutableBytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
copyTo(MutableBytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
copyTo(MutableBytes, int) - Method in interface org.apache.tuweni.bytes.Bytes
Copy the bytes of this value to the provided mutable one from a particular offset.
copyTo(MutableBytes, int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
copyTo(MutableBytes, int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
create() - Static method in interface org.apache.tuweni.bytes.MutableBytes32
Create a new mutable 32 bytes value.
create() - Static method in interface org.apache.tuweni.bytes.MutableBytes48
Create a new mutable 48 bytes value.
create(int) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Create a new mutable byte value.

D

decrement() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
decrement() - Method in interface org.apache.tuweni.bytes.MutableBytes
Decrements the value of the bytes by 1, treating the value as big endian.
DelegatingBytes - Class in org.apache.tuweni.bytes
A class that holds and delegates all operations to its inner bytes field.
DelegatingBytes(Bytes) - Constructor for class org.apache.tuweni.bytes.DelegatingBytes
 
DelegatingBytes32 - Class in org.apache.tuweni.bytes
A class that holds and delegates all operations to its inner bytes field.
DelegatingBytes32(Bytes) - Constructor for class org.apache.tuweni.bytes.DelegatingBytes32
 
DelegatingBytes48 - Class in org.apache.tuweni.bytes
A class that holds and delegates all operations to its inner bytes field.
DelegatingBytes48(Bytes) - Constructor for class org.apache.tuweni.bytes.DelegatingBytes48
 
DelegatingMutableBytes - Class in org.apache.tuweni.bytes
A class that holds and delegates all operations to its inner bytes field.
DelegatingMutableBytes(MutableBytes) - Constructor for class org.apache.tuweni.bytes.DelegatingMutableBytes
 

E

EMPTY - Static variable in interface org.apache.tuweni.bytes.Bytes
The empty value (with 0 bytes).
EMPTY - Static variable in interface org.apache.tuweni.bytes.MutableBytes
The empty value (with 0 bytes).
equals(Object) - Method in class org.apache.tuweni.bytes.AbstractBytes
Compare this value and the provided one for equality.
equals(Object) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
equals(Object) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

F

fill(byte) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
fill(byte) - Method in interface org.apache.tuweni.bytes.MutableBytes
Fill all the bytes of this value with the specified byte.
fromBase64String(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes
Parse a base 64 string into a Bytes value.
fromHexString(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes
Parse a hexadecimal string into a Bytes value.
fromHexString(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes32
Parse a hexadecimal string into a Bytes32.
fromHexString(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes48
Parse a hexadecimal string into a Bytes48.
fromHexString(CharSequence, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Parse a hexadecimal string into a Bytes value.
fromHexStringLenient(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes
Parse a hexadecimal string into a Bytes value.
fromHexStringLenient(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes32
Parse a hexadecimal string into a Bytes32.
fromHexStringLenient(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes48
Parse a hexadecimal string into a Bytes48.
fromHexStringLenient(CharSequence, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Parse a hexadecimal string into a Bytes value of the provided size.
fromHexStringStrict(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes32
Parse a hexadecimal string into a Bytes32.
fromHexStringStrict(CharSequence) - Static method in interface org.apache.tuweni.bytes.Bytes48
Parse a hexadecimal string into a Bytes48.

G

get(int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
get(int) - Method in interface org.apache.tuweni.bytes.Bytes
Retrieve a byte in this value.
get(int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
get(int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
getInt(int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
getInt(int) - Method in interface org.apache.tuweni.bytes.Bytes
Retrieve the 4 bytes starting at the provided index in this value as an integer.
getInt(int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
getInt(int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
getInt(int, ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
Retrieve the 4 bytes starting at the provided index in this value as an integer.
getInt(int, ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
getLong(int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
getLong(int) - Method in interface org.apache.tuweni.bytes.Bytes
Retrieves the 8 bytes starting at the provided index in this value as a long.
getLong(int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
getLong(int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
getLong(int, ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
Retrieves the 8 bytes starting at the provided index in this value as a long.
getLong(int, ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 

H

hashCode() - Method in class org.apache.tuweni.bytes.AbstractBytes
 
hashCode() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
hashCode() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
hashCode() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
hasLeadingZero() - Method in interface org.apache.tuweni.bytes.Bytes
Whether the bytes start with a zero bit value.
hasLeadingZero() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
hasLeadingZero() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
hasLeadingZeroByte() - Method in interface org.apache.tuweni.bytes.Bytes
Whether the bytes start with a zero byte value.
hasLeadingZeroByte() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
hasLeadingZeroByte() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

I

increment() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
increment() - Method in interface org.apache.tuweni.bytes.MutableBytes
Increments the value of the bytes by 1, treating the value as big endian.
isEmpty() - Method in interface org.apache.tuweni.bytes.Bytes
Whether this value contains no bytes.
isEmpty() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
isZero() - Method in interface org.apache.tuweni.bytes.Bytes
Whether this value has only zero bytes.
isZero() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
isZero() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

L

leftPad(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes32
Left pad a Bytes value with zero bytes to create a Bytes32.
leftPad(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes48
Left pad a Bytes value with zero bytes to create a Bytes48.
leftPad(Bytes, byte) - Static method in interface org.apache.tuweni.bytes.Bytes32
Left pad a Bytes value with a fill byte to create a Bytes32.
length - Variable in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 

M

minimalBytes(long) - Static method in interface org.apache.tuweni.bytes.Bytes
Return the smallest bytes value whose bytes correspond to the provided long.
MutableByteBufferWrappingBytes - Class in org.apache.tuweni.bytes
 
MutableBytes - Interface in org.apache.tuweni.bytes
A mutable Bytes value.
MutableBytes32 - Interface in org.apache.tuweni.bytes
A mutable Bytes32, that is a mutable Bytes value of exactly 32 bytes.
MutableBytes48 - Interface in org.apache.tuweni.bytes
A mutable Bytes48, that is a mutable Bytes value of exactly 48 bytes.
mutableCopy() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
mutableCopy() - Method in interface org.apache.tuweni.bytes.Bytes
Return a new mutable value initialized with the content of this value.
mutableCopy() - Method in interface org.apache.tuweni.bytes.Bytes32
 
mutableCopy() - Method in interface org.apache.tuweni.bytes.Bytes48
 
mutableCopy() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
mutableCopy() - Method in class org.apache.tuweni.bytes.DelegatingBytes32
 
mutableCopy() - Method in class org.apache.tuweni.bytes.DelegatingBytes48
 
mutableCopy() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
mutableSlice(int, int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
mutableSlice(int, int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
mutableSlice(int, int) - Method in interface org.apache.tuweni.bytes.MutableBytes
Create a mutable slice of the bytes of this value.

N

not() - Method in interface org.apache.tuweni.bytes.Bytes
Return a bit-wise NOT of these bytes.
not() - Method in interface org.apache.tuweni.bytes.Bytes32
 
not() - Method in interface org.apache.tuweni.bytes.Bytes48
 
not(T) - Method in interface org.apache.tuweni.bytes.Bytes
Calculate a bit-wise NOT of these bytes.
not(T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
numberOfLeadingZeroBytes() - Method in interface org.apache.tuweni.bytes.Bytes
Provides the number of leading zero bytes of the value
numberOfLeadingZeroBytes() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
numberOfLeadingZeroBytes() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
numberOfLeadingZeros() - Method in interface org.apache.tuweni.bytes.Bytes
Provides the number of zero bits preceding the highest-order ("leftmost") one-bit, or size() * 8 if all bits * are zero.
numberOfLeadingZeros() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
numberOfLeadingZeros() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
numberOfTrailingZeroBytes() - Method in interface org.apache.tuweni.bytes.Bytes
Provides the number of trailing zero bytes of the value.
numberOfTrailingZeroBytes() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 

O

of(byte...) - Static method in interface org.apache.tuweni.bytes.Bytes
Create a value that contains the specified bytes in their specified order.
of(byte...) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Create a value that contains the specified bytes in their specified order.
of(int...) - Static method in interface org.apache.tuweni.bytes.Bytes
Create a value that contains the specified bytes in their specified order.
of(int...) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Create a value that contains the specified bytes in their specified order.
offset - Variable in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
ofUnsignedInt(long) - Static method in interface org.apache.tuweni.bytes.Bytes
Return a 4-byte value corresponding to the provided value interpreted as an unsigned int.
ofUnsignedInt(long, ByteOrder) - Static method in interface org.apache.tuweni.bytes.Bytes
Return a 4-byte value corresponding to the provided value interpreted as an unsigned int.
ofUnsignedLong(long) - Static method in interface org.apache.tuweni.bytes.Bytes
Return an 8-byte value corresponding to the provided value interpreted as an unsigned long.
ofUnsignedLong(long, ByteOrder) - Static method in interface org.apache.tuweni.bytes.Bytes
Return an 8-byte value corresponding to the provided value interpreted as an unsigned long.
ofUnsignedShort(int) - Static method in interface org.apache.tuweni.bytes.Bytes
Return a 2-byte value corresponding to the provided value interpreted as an unsigned short.
ofUnsignedShort(int, ByteOrder) - Static method in interface org.apache.tuweni.bytes.Bytes
Return a 2-byte value corresponding to the provided value interpreted as an unsigned short.
or(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
Return a bit-wise OR of these bytes and the supplied bytes.
or(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
or(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
or(Bytes32) - Method in interface org.apache.tuweni.bytes.Bytes32
Return a bit-wise OR of these bytes and the supplied bytes.
or(Bytes48) - Method in interface org.apache.tuweni.bytes.Bytes48
Return a bit-wise OR of these bytes and the supplied bytes.
or(Bytes, T) - Method in interface org.apache.tuweni.bytes.Bytes
Calculate a bit-wise OR of these bytes and the supplied bytes.
or(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
or(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
org.apache.tuweni.bytes - package org.apache.tuweni.bytes
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

R

random() - Static method in interface org.apache.tuweni.bytes.Bytes32
Generate random bytes.
random() - Static method in interface org.apache.tuweni.bytes.Bytes48
Generate random bytes.
random(int) - Static method in interface org.apache.tuweni.bytes.Bytes
Generate random bytes.
random(int, Random) - Static method in interface org.apache.tuweni.bytes.Bytes
Generate random bytes.
random(Random) - Static method in interface org.apache.tuweni.bytes.Bytes32
Generate random bytes.
random(Random) - Static method in interface org.apache.tuweni.bytes.Bytes48
Generate random bytes.
repeat(byte) - Static method in interface org.apache.tuweni.bytes.Bytes32
Generate a bytes object filled with the same byte.
repeat(byte, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Generate a bytes object filled with the same byte.
reverse() - Method in interface org.apache.tuweni.bytes.Bytes
Computes the reverse array of bytes of the current bytes.
reverse() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
rightPad(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes32
Right pad a Bytes value with zero bytes to create a Bytes32.
rightPad(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes48
Right pad a Bytes value with zero bytes to create a Bytes48.

S

secure(byte[]) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap the provided byte array as a Bytes value, encrypted in memory.
secure(byte[]) - Static method in interface org.apache.tuweni.bytes.Bytes32
Secures the provided byte array, which must be of length 32, as a Bytes32.
secure(byte[], int) - Static method in interface org.apache.tuweni.bytes.Bytes32
Secures a slice/sub-part of the provided array as a Bytes32.
secure(byte[], int, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a slice of a byte array as a Bytes value, encrypted in memory.
segment(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes
Splits a Bytes object into Bytes32 objects.
set(int, byte) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
set(int, byte) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
set(int, byte) - Method in interface org.apache.tuweni.bytes.MutableBytes
Set a byte in this value.
set(int, Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
set(int, Bytes) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
set(int, Bytes) - Method in interface org.apache.tuweni.bytes.MutableBytes
Set a byte in this value.
setInt(int, int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
setInt(int, int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
setInt(int, int) - Method in interface org.apache.tuweni.bytes.MutableBytes
Set the 4 bytes starting at the specified index to the specified integer value.
setLong(int, long) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
setLong(int, long) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
setLong(int, long) - Method in interface org.apache.tuweni.bytes.MutableBytes
Set the 8 bytes starting at the specified index to the specified long value.
shiftLeft(int) - Method in interface org.apache.tuweni.bytes.Bytes
Shift all bits in this value to the left.
shiftLeft(int) - Method in interface org.apache.tuweni.bytes.Bytes32
 
shiftLeft(int) - Method in interface org.apache.tuweni.bytes.Bytes48
 
shiftLeft(int, T) - Method in interface org.apache.tuweni.bytes.Bytes
Shift all bits in this value to the left.
shiftLeft(int, T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
shiftLeft(int, T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
shiftRight(int) - Method in interface org.apache.tuweni.bytes.Bytes
Shift all bits in this value to the right.
shiftRight(int) - Method in interface org.apache.tuweni.bytes.Bytes32
 
shiftRight(int) - Method in interface org.apache.tuweni.bytes.Bytes48
 
shiftRight(int, T) - Method in interface org.apache.tuweni.bytes.Bytes
Shift all bits in this value to the right.
shiftRight(int, T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
shiftRight(int, T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
size() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
size() - Method in interface org.apache.tuweni.bytes.Bytes
Provides the number of bytes this value represents.
size() - Method in interface org.apache.tuweni.bytes.Bytes32
 
size() - Method in interface org.apache.tuweni.bytes.Bytes48
 
size() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
size() - Method in class org.apache.tuweni.bytes.DelegatingBytes32
 
size() - Method in class org.apache.tuweni.bytes.DelegatingBytes48
 
size() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
SIZE - Static variable in interface org.apache.tuweni.bytes.Bytes32
The number of bytes in this value - i.e.
SIZE - Static variable in interface org.apache.tuweni.bytes.Bytes48
The number of bytes in this value - i.e.
slice(int) - Method in interface org.apache.tuweni.bytes.Bytes
Create a new value representing (a view of) a slice of the bytes of this value.
slice(int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
slice(int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
slice(int, int) - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
slice(int, int) - Method in interface org.apache.tuweni.bytes.Bytes
Create a new value representing (a view of) a slice of the bytes of this value.
slice(int, int) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
slice(int, int) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

T

toArray() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
toArray() - Method in interface org.apache.tuweni.bytes.Bytes
Extract the bytes of this value into a byte array.
toArray() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toArray() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toArray(ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
Extract the bytes of this value into a byte array.
toArray(ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toArrayUnsafe() - Method in class org.apache.tuweni.bytes.MutableByteBufferWrappingBytes
 
toArrayUnsafe() - Method in interface org.apache.tuweni.bytes.Bytes
Get the bytes represented by this value as byte array.
toArrayUnsafe() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toArrayUnsafe() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toBase64String() - Method in interface org.apache.tuweni.bytes.Bytes
Provides this value represented as base 64
toBase64String() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toBigInteger() - Method in interface org.apache.tuweni.bytes.Bytes
The BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.
toBigInteger() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toBigInteger() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toBigInteger(ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
The BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.
toBigInteger(ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toEllipsisHexString() - Method in interface org.apache.tuweni.bytes.Bytes
 
toEllipsisHexString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toFastHex(boolean) - Method in interface org.apache.tuweni.bytes.Bytes
 
toHexString() - Method in interface org.apache.tuweni.bytes.Bytes
Provides this value represented as hexadecimal, starting with "0x".
toHexString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toHexString() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toInt() - Method in interface org.apache.tuweni.bytes.Bytes
The value corresponding to interpreting these bytes as an integer.
toInt() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toInt() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toInt(ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
The value corresponding to interpreting these bytes as an integer.
toInt(ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toLong() - Method in interface org.apache.tuweni.bytes.Bytes
The value corresponding to interpreting these bytes as a long.
toLong() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toLong() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toLong(ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
The value corresponding to interpreting these bytes as a long.
toLong(ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toQuantityHexString() - Method in interface org.apache.tuweni.bytes.Bytes
Provides this value represented as a minimal hexadecimal string (without any leading zero, except if it's valued zero or empty, in which case it returns 0x0).
toQuantityHexString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toShortHexString() - Method in interface org.apache.tuweni.bytes.Bytes
Provides this value represented as a minimal hexadecimal string (without any leading zero)
toShortHexString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toShortHexString() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toString() - Method in class org.apache.tuweni.bytes.AbstractBytes
 
toString() - Method in interface org.apache.tuweni.bytes.Bytes
Return the hexadecimal string representation of this value.
toString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toString() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toUnprefixedHexString() - Method in interface org.apache.tuweni.bytes.Bytes
Provides this value represented as hexadecimal, with no prefix
toUnprefixedHexString() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toUnsignedBigInteger() - Method in interface org.apache.tuweni.bytes.Bytes
The BigInteger corresponding to interpreting these bytes as an unsigned integer.
toUnsignedBigInteger() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
toUnsignedBigInteger() - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
toUnsignedBigInteger(ByteOrder) - Method in interface org.apache.tuweni.bytes.Bytes
The BigInteger corresponding to interpreting these bytes as an unsigned integer.
toUnsignedBigInteger(ByteOrder) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
trimLeadingZeros() - Method in interface org.apache.tuweni.bytes.Bytes
Return a slice of representing the same value but without any leading zero bytes.
trimLeadingZeros() - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
trimTrailingZeros() - Method in interface org.apache.tuweni.bytes.Bytes
Return a slice of representing the same value but without any trailing zero bytes.

U

update(MessageDigest) - Method in interface org.apache.tuweni.bytes.Bytes
Update the provided message digest with the bytes of this value.
update(MessageDigest) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
update(MessageDigest) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

W

wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap the provided byte array as a Bytes value.
wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.Bytes32
Wrap the provided byte array, which must be of length 32, as a Bytes32.
wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.Bytes48
Wrap the provided byte array, which must be of length 48, as a Bytes48.
wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a byte array in a MutableBytes value.
wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.MutableBytes32
Wrap a 32 bytes array as a mutable 32 bytes value.
wrap(byte[]) - Static method in interface org.apache.tuweni.bytes.MutableBytes48
Wrap a 48 bytes array as a mutable 48 bytes value.
wrap(byte[], int) - Static method in interface org.apache.tuweni.bytes.Bytes32
Wrap a slice/sub-part of the provided array as a Bytes32.
wrap(byte[], int) - Static method in interface org.apache.tuweni.bytes.Bytes48
Wrap a slice/sub-part of the provided array as a Bytes48.
wrap(byte[], int) - Static method in interface org.apache.tuweni.bytes.MutableBytes32
Wrap a the provided array as a MutableBytes32.
wrap(byte[], int) - Static method in interface org.apache.tuweni.bytes.MutableBytes48
Wrap a the provided array as a MutableBytes48.
wrap(byte[], int, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a slice of a byte array as a Bytes value.
wrap(byte[], int, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a slice of a byte array as a MutableBytes value.
wrap(List<Bytes>) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a list of other values into a concatenated view.
wrap(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes32
Wrap a the provided value, which must be of size 32, as a Bytes32.
wrap(Bytes) - Static method in interface org.apache.tuweni.bytes.Bytes48
Wrap a the provided value, which must be of size 48, as a Bytes48.
wrap(Bytes...) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a list of other values into a concatenated view.
wrap(Bytes, int) - Static method in interface org.apache.tuweni.bytes.Bytes32
Wrap a slice/sub-part of the provided value as a Bytes32.
wrap(Bytes, int) - Static method in interface org.apache.tuweni.bytes.Bytes48
Wrap a slice/sub-part of the provided value as a Bytes48.
wrap(MutableBytes) - Static method in interface org.apache.tuweni.bytes.MutableBytes32
Wrap a the provided value, which must be of size 32, as a MutableBytes32.
wrap(MutableBytes) - Static method in interface org.apache.tuweni.bytes.MutableBytes48
Wrap a the provided value, which must be of size 48, as a MutableBytes48.
wrap(MutableBytes, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes32
Wrap a slice/sub-part of the provided value as a MutableBytes32.
wrap(MutableBytes, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes48
Wrap a slice/sub-part of the provided value as a MutableBytes48.
wrapBuffer(Buffer) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a full Vert.x Buffer as a Bytes value.
wrapBuffer(Buffer) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a full Vert.x Buffer as a MutableBytes value.
wrapBuffer(Buffer, int, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a slice of a Vert.x Buffer as a Bytes value.
wrapBuffer(Buffer, int, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a slice of a Vert.x Buffer as a MutableBytes value.
wrapByteBuf(ByteBuf) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a full Netty ByteBuf as a Bytes value.
wrapByteBuf(ByteBuf) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a full Netty ByteBuf as a MutableBytes value.
wrapByteBuf(ByteBuf, int, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a slice of a Netty ByteBuf as a Bytes value.
wrapByteBuf(ByteBuf, int, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a slice of a Netty ByteBuf as a MutableBytes value.
wrapByteBuffer(ByteBuffer) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a full Java NIO ByteBuffer as a Bytes value.
wrapByteBuffer(ByteBuffer) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a full Java NIO ByteBuffer as a MutableBytes value.
wrapByteBuffer(ByteBuffer, int, int) - Static method in interface org.apache.tuweni.bytes.Bytes
Wrap a slice of a Java NIO ByteBuf as a Bytes value.
wrapByteBuffer(ByteBuffer, int, int) - Static method in interface org.apache.tuweni.bytes.MutableBytes
Wrap a slice of a Java NIO ByteBuffer as a MutableBytes value.

X

xor(Bytes) - Method in interface org.apache.tuweni.bytes.Bytes
Return a bit-wise XOR of these bytes and the supplied bytes.
xor(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
xor(Bytes) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 
xor(Bytes32) - Method in interface org.apache.tuweni.bytes.Bytes32
Return a bit-wise XOR of these bytes and the supplied bytes.
xor(Bytes48) - Method in interface org.apache.tuweni.bytes.Bytes48
Return a bit-wise XOR of these bytes and the supplied bytes.
xor(Bytes, T) - Method in interface org.apache.tuweni.bytes.Bytes
Calculate a bit-wise XOR of these bytes and the supplied bytes.
xor(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingBytes
 
xor(Bytes, T) - Method in class org.apache.tuweni.bytes.DelegatingMutableBytes
 

Z

ZERO - Static variable in interface org.apache.tuweni.bytes.Bytes32
A Bytes32 containing all zero bytes
ZERO - Static variable in interface org.apache.tuweni.bytes.Bytes48
A Bytes48 containing all zero bytes
A B C D E F G H I L M N O R S T U W X Z 
All Classes and Interfaces|All Packages|Constant Field Values