public class GridClientJdkMarshaller extends Object implements GridClientMarshaller
| Modifier and Type | Field and Description |
|---|---|
static byte |
ID
ID.
|
| Constructor and Description |
|---|
GridClientJdkMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
marshal(Object obj,
int off)
Marshals object to byte array.
|
<T> T |
unmarshal(byte[] bytes)
Unmarshals object from byte array.
|
public static final byte ID
public ByteBuffer marshal(Object obj, int off) throws IOException
marshal in interface GridClientMarshallerobj - Object to marshal.off - Start offset.IOException - If marshalling failed.public <T> T unmarshal(byte[] bytes)
throws IOException
unmarshal in interface GridClientMarshallerbytes - Byte array.IOException - If unmarshalling failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017