public class BytesMarshaller extends java.lang.Object implements Marshaller<byte[]>
Constructor and Description |
---|
BytesMarshaller() |
Modifier and Type | Method and Description |
---|---|
byte[] |
deepCopy(byte[] source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
byte[] |
readPayload(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(byte[] data,
java.io.DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public BytesMarshaller()
public void writePayload(byte[] data, java.io.DataOutput dataOut) throws java.io.IOException
Marshaller
writePayload
in interface Marshaller<byte[]>
java.io.IOException
public byte[] readPayload(java.io.DataInput dataIn) throws java.io.IOException
Marshaller
readPayload
in interface Marshaller<byte[]>
java.io.IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<byte[]>
public byte[] deepCopy(byte[] source)
deepCopy
in interface Marshaller<byte[]>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<byte[]>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005-2017. All Rights Reserved.