public static class Domains.BinEncoder extends BinaryEncoder
| Constructor and Description |
|---|
Domains.BinEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object value,
Context context) |
Class<?> |
getInputType() |
PrimitiveType |
getOutputPrimitiveType() |
int |
length(Type type,
Object val,
Context context) |
encodepublic Class<?> getInputType()
public PrimitiveType getOutputPrimitiveType()
public void encode(Type type, io.netty.buffer.ByteBuf buffer, Object value, Context context) throws IOException
encode in class BinaryEncoderIOExceptionpublic int length(Type type, Object val, Context context) throws IOException
length in interface Type.Codec.Encoderlength in class BinaryEncoderIOExceptionCopyright © 2013-2015 impossibl.com. All Rights Reserved.