public final class TranslationUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
fromByteArray(byte[] serialized,
<any> coder)
Utility method for deserializing a byte array using the specified coder.
|
static <T> <any> |
fromByteArray(byte[] serialized,
<any> coder)
Utility method for deserializing a byte array using the specified coder.
|
public static <T> T fromByteArray(byte[] serialized, <any> coder)
T
- Type of object to be returned.serialized
- bytearray to be deserialized.coder
- Coder to deserialize with.public static <T> <any> fromByteArray(byte[] serialized, <any> coder)
T
- Type of object to be returned.serialized
- bytearray to be deserialized.coder
- Coder to deserialize with.