public class SerializedBytes<T> extends OpaqueBytes
A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back.
Modifier and Type | Class and Description |
---|---|
static class |
SerializedBytes.Companion |
Modifier and Type | Field and Description |
---|---|
static SerializedBytes.Companion |
Companion |
Constructor and Description |
---|
SerializedBytes(byte[] bytes)
A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize
to get the original object back.
|
Modifier and Type | Method and Description |
---|---|
SecureHash |
getHash() |
getBytes
public static SerializedBytes.Companion Companion
public SerializedBytes(byte[] bytes)
A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back.
public SecureHash getHash()