public abstract class BinaryEncoder extends Object implements Type.Codec.Encoder
| Constructor and Description |
|---|
BinaryEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object val,
Context context) |
void |
encode(Type type,
Object buffer,
Object value,
Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInputType, getOutputPrimitiveTypeprotected abstract void encode(Type type, io.netty.buffer.ByteBuf buffer, Object val, Context context) throws IOException
IOExceptionpublic void encode(Type type, Object buffer, Object value, Context context) throws IOException
encode in interface Type.Codec.EncoderIOExceptionCopyright © 2013–2017 impossibl.com. All rights reserved.