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
|
protected byte[] |
getPayloadBytes()
This must return the payload only.
|
byte[] |
getRawBytes()
The bytes of the raw payload.
|
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.protected byte[] getPayloadBytes()
PayloadPayload.getBytes()getPayloadBytes in class Payloadpublic byte[] getRawBytes()
Copyright © 2026. All rights reserved.