public static class Common.EnumDataFormat<E extends Enum<E>> extends DataFormat<E>
| Constructor and Description |
|---|
Common.EnumDataFormat(Class<E> clazz) |
Common.EnumDataFormat(Class<E> clazz,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
E |
decode(ByteBuffer buffer) |
ByteBuffer |
encode(ByteBuffer buffer,
E value) |
getName, toStringpublic E decode(ByteBuffer buffer) throws IOException
IOExceptionpublic ByteBuffer encode(ByteBuffer buffer, E value) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.