public class RawPayload extends Payload
Constructor and Description |
---|
RawPayload(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static RawPayload |
from(byte[] rawPayloadBytes)
Create a raw payload from the provided bytes
|
byte[] |
getRawBytes()
The bytes of the raw payload.
|
byte[] |
getRawPayloadBytes()
This must return the raw payload i.e., the
payload only.
|
TransactionType |
getTransactionType() |
int |
hashCode() |
String |
toString() |
public static RawPayload from(byte[] rawPayloadBytes)
rawPayloadBytes
- the raw bytes of the payloadRawPayload
where only the tag is parsed.IllegalArgumentException
- if the provided bytes does not contain a tag or if the tag cannot be parsed successfully.public TransactionType getTransactionType()
getTransactionType
in class Payload
public byte[] getRawPayloadBytes()
Payload
Payload.getBytes()
getRawPayloadBytes
in class Payload
protected boolean canEqual(Object other)
public byte[] getRawBytes()
Copyright © 2025. All rights reserved.