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) |
encode
public Class<?> getInputType()
public PrimitiveType getOutputPrimitiveType()
public void encode(Type type, io.netty.buffer.ByteBuf buffer, Object val, Context context) throws IOException
encode
in class BinaryEncoder
IOException
public int length(Type type, Object val, Context context) throws IOException
length
in interface Type.Codec.Encoder
length
in class BinaryEncoder
IOException
Copyright © 2013-2015 impossibl.com. All Rights Reserved.