public static class Jsons.BinDecoder extends Object
| Constructor and Description |
|---|
BinDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Context context,
Type type,
Short typeLength,
Integer typeModifier,
io.netty.buffer.ByteBuf buffer,
Class<?> targetClass,
Object targetContext) |
protected Object |
decodeValue(Context context,
Type type,
Short typeLength,
Integer typeModifier,
io.netty.buffer.ByteBuf buffer,
Class<?> targetClass,
Object targetContext) |
protected void |
enableRespectMaxLength() |
Class<?> |
getDefaultClass() |
protected boolean |
shouldRespectMaxLength() |
public Class<?> getDefaultClass()
protected Object decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext) throws IOException
IOExceptionprotected boolean shouldRespectMaxLength()
protected void enableRespectMaxLength()
public Object decode(Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext) throws IOException
decode in interface Type.Codec.Decoder<io.netty.buffer.ByteBuf>IOException