public class BytesMarshaller extends Object implements Marshaller<byte[]>
| Constructor and Description |
|---|
BytesMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
deepCopy(byte[] source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
byte[] |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(byte[] data,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public BytesMarshaller()
public void writePayload(byte[] data, DataOutput dataOut) throws IOException
MarshallerwritePayload in interface Marshaller<byte[]>IOExceptionpublic byte[] readPayload(DataInput dataIn) throws IOException
MarshallerreadPayload in interface Marshaller<byte[]>IOExceptionpublic 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 FuseSource, Corp.. All rights reserved.