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, wait
getInputType, getOutputPrimitiveType
protected abstract void encode(Type type, io.netty.buffer.ByteBuf buffer, Object val, Context context) throws IOException
IOException
public void encode(Type type, Object buffer, Object value, Context context) throws IOException
encode
in interface Type.Codec.Encoder
IOException
Copyright © 2013–2017 impossibl.com. All rights reserved.