public static class Unknowns.BinEncoder extends Object
| Constructor and Description |
|---|
BinEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Context context,
Type type,
Object value,
Object sourceContext,
io.netty.buffer.ByteBuf buffer) |
protected void |
encodeValue(Context context,
Type type,
Object value,
Object sourceContext,
io.netty.buffer.ByteBuf buffer) |
protected void encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer) throws IOException
IOExceptionpublic void encode(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer) throws IOException
encode in interface Type.Codec.Encoder<io.netty.buffer.ByteBuf>IOException