public class SerializingFieldCodec extends java.lang.Object implements FieldCodec
DEFAULT_BUFFER_SIZE| Constructor and Description |
|---|
SerializingFieldCodec() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
readField(byte[] fieldBytes)
Decode the byte array to create the object field
|
byte[] |
writeField(java.lang.Object field)
Encode the given object into any byte array required
|
public byte[] writeField(java.lang.Object field)
FieldCodecwriteField in interface FieldCodecfield - the field to writepublic java.lang.Object readField(byte[] fieldBytes)
FieldCodecreadField in interface FieldCodecfieldBytes - the bytes to read