| 程序包 | 说明 |
|---|---|
| org.tron.tronj.crypto.tuweniTypes |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
MutableBytes32
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
MutableByteBufferWrappingBytes |
| 限定符和类型 | 字段和说明 |
|---|---|
static MutableBytes |
MutableBytes.EMPTY
The empty value (with 0 bytes).
|
| 限定符和类型 | 方法和说明 |
|---|---|
default <T extends MutableBytes> |
Bytes.and(Bytes other,
T result)
Calculate a bit-wise AND of these bytes and the supplied bytes.
|
default <T extends MutableBytes> |
Bytes.not(T result)
Calculate a bit-wise NOT of these bytes.
|
default <T extends MutableBytes> |
Bytes.or(Bytes other,
T result)
Calculate a bit-wise OR of these bytes and the supplied bytes.
|
default <T extends MutableBytes> |
Bytes.shiftLeft(int distance,
T result)
Shift all bits in this value to the left.
|
default <T extends MutableBytes> |
Bytes.shiftRight(int distance,
T result)
Shift all bits in this value to the right.
|
default <T extends MutableBytes> |
Bytes.xor(Bytes other,
T result)
Calculate a bit-wise XOR of these bytes and the supplied bytes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MutableBytes |
MutableBytes.create(int size)
Create a new mutable byte value.
|
default MutableBytes |
MutableBytes.decrement()
Decrements the value of the bytes by 1, treating the value as big endian.
|
default MutableBytes |
MutableBytes.increment()
Increments the value of the bytes by 1, treating the value as big endian.
|
MutableBytes |
Bytes.mutableCopy()
Return a new mutable value initialized with the content of this value.
|
MutableBytes |
MutableByteBufferWrappingBytes.mutableSlice(int i,
int length) |
MutableBytes |
MutableBytes.mutableSlice(int i,
int length)
Create a mutable slice of the bytes of this value.
|
static MutableBytes |
MutableBytes.of(byte... bytes)
Create a value that contains the specified bytes in their specified order.
|
static MutableBytes |
MutableBytes.of(int... bytes)
Create a value that contains the specified bytes in their specified order.
|
static MutableBytes |
MutableBytes.wrap(byte[] value)
Wrap a byte array in a
MutableBytes value. |
static MutableBytes |
MutableBytes.wrap(byte[] value,
int offset,
int length)
Wrap a slice of a byte array as a
MutableBytes value. |
static MutableBytes |
MutableBytes.wrapBuffer(io.vertx.core.buffer.Buffer buffer)
Wrap a full Vert.x
Buffer as a MutableBytes value. |
static MutableBytes |
MutableBytes.wrapBuffer(io.vertx.core.buffer.Buffer buffer,
int offset,
int size)
Wrap a slice of a Vert.x
Buffer as a MutableBytes value. |
static MutableBytes |
MutableBytes.wrapByteBuf(io.netty.buffer.ByteBuf byteBuf)
Wrap a full Netty
ByteBuf as a MutableBytes value. |
static MutableBytes |
MutableBytes.wrapByteBuf(io.netty.buffer.ByteBuf byteBuf,
int offset,
int size)
Wrap a slice of a Netty
ByteBuf as a MutableBytes value. |
static MutableBytes |
MutableBytes.wrapByteBuffer(ByteBuffer byteBuffer)
Wrap a full Java NIO
ByteBuffer as a MutableBytes value. |
static MutableBytes |
MutableBytes.wrapByteBuffer(ByteBuffer byteBuffer,
int offset,
int size)
Wrap a slice of a Java NIO
ByteBuffer as a MutableBytes value. |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
Bytes.copyTo(MutableBytes destination)
Copy the bytes of this value to the provided mutable one, which must have the same
size.
|
default void |
Bytes.copyTo(MutableBytes destination,
int destinationOffset)
Copy the bytes of this value to the provided mutable one from a particular offset.
|
static MutableBytes32 |
MutableBytes32.wrap(MutableBytes value)
Wrap a the provided value, which must be of size 32, as a
MutableBytes32. |
static MutableBytes32 |
MutableBytes32.wrap(MutableBytes value,
int offset)
Wrap a slice/sub-part of the provided value as a
MutableBytes32. |
Copyright © 2021. All rights reserved.