Class Unknowns.BinDecoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Unknowns.BinDecoder
-
- All Implemented Interfaces:
Type.Codec.Decoder<io.netty.buffer.ByteBuf>
- Enclosing class:
- Unknowns
public static class Unknowns.BinDecoder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BinDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
decode(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, io.netty.buffer.ByteBuf buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext)
protected java.lang.Object
decodeValue(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, io.netty.buffer.ByteBuf buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext)
protected void
enableRespectMaxLength()
java.lang.Class<?>
getDefaultClass()
protected boolean
shouldRespectMaxLength()
-
-
-
Method Detail
-
getDefaultClass
public java.lang.Class<?> getDefaultClass()
-
decodeValue
protected java.lang.Object decodeValue(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, io.netty.buffer.ByteBuf buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext) throws java.io.IOException
- Throws:
java.io.IOException
-
shouldRespectMaxLength
protected boolean shouldRespectMaxLength()
-
enableRespectMaxLength
protected void enableRespectMaxLength()
-
decode
public java.lang.Object decode(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, io.netty.buffer.ByteBuf buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext) throws java.io.IOException
- Specified by:
decode
in interfaceType.Codec.Decoder<io.netty.buffer.ByteBuf>
- Throws:
java.io.IOException
-
-