public class DefaultMarshaller extends Object implements Marshaller<Object>
| Modifier and Type | Field and Description |
|---|---|
static DefaultMarshaller |
INSTANCE |
| Constructor and Description |
|---|
DefaultMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bytes) |
byte[] |
serialize(Object object) |
public static final DefaultMarshaller INSTANCE
public byte[] serialize(Object object) throws IOException
serialize in interface Marshaller<Object>IOExceptionpublic Object deserialize(byte[] bytes) throws IOException
deserialize in interface Marshaller<Object>IOExceptionCopyright © 2021. All rights reserved.