Class Unknowns.BinEncoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Unknowns.BinEncoder
-
- All Implemented Interfaces:
Type.Codec.Encoder<io.netty.buffer.ByteBuf>
- Enclosing class:
- Unknowns
public static class Unknowns.BinEncoder extends Object
-
-
Constructor Summary
Constructors Constructor Description BinEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
protected void
encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
-
-
-
Method Detail
-
encodeValue
protected void encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer) throws IOException
- Throws:
IOException
-
encode
public void encode(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer) throws IOException
- Specified by:
encode
in interfaceType.Codec.Encoder<io.netty.buffer.ByteBuf>
- Throws:
IOException
-
-