public interface FieldCodec
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUFFER_SIZE |
| 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
|
static final int DEFAULT_BUFFER_SIZE
byte[] writeField(java.lang.Object field)
field - the field to writejava.lang.Object readField(byte[] fieldBytes)
fieldBytes - the bytes to read