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 void writePayload(byte[] data,
java.io.DataOutput dataOut)
throws java.io.IOException
MarshallerwritePayload in interface Marshaller<byte[]>java.io.IOExceptionpublic byte[] readPayload(java.io.DataInput dataIn)
throws java.io.IOException
MarshallerreadPayload in interface Marshaller<byte[]>java.io.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-2016 Red Hat, Inc.. All Rights Reserved.