public static class Strings.BinEncoder extends BinaryEncoder
| Constructor and Description |
|---|
Strings.BinEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object val,
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 val, 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.