public class Data extends Object
RegisterData
Account TransactionModifier and Type | Field and Description |
---|---|
static int |
BYTES
Maximum Byte length of
Data |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static Data |
from(byte[] data)
Initializes
Data from Byte Array |
static Data |
from(String hexString)
Initializes
Data from Hex encoded string |
static Data |
fromBytes(ByteBuffer source)
Initializes
Data from ByteBuffer |
byte[] |
getBytes()
Returns the serialized data with suffixed length
|
byte[] |
getValue()
The Data in Bytes Array
|
int |
hashCode() |
String |
toString() |
public static final int BYTES
Data
public static Data from(String hexString)
Data
from Hex encoded stringhexString
- Hex StringData
public byte[] getBytes()
public static Data fromBytes(ByteBuffer source)
Data
from ByteBuffer
source
- The ByteBuffer
to initialize fromData
protected boolean canEqual(Object other)
public byte[] getValue()
Copyright © 2025. All rights reserved.