Class Strings.BinEncoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Strings.BinEncoder
-
- All Implemented Interfaces:
Type.Codec.Encoder<io.netty.buffer.ByteBuf>
- Enclosing class:
- Strings
public static class Strings.BinEncoder extends Object
-
-
Constructor Summary
Constructors Constructor Description BinEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)protected voidencodeValue(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:
encodein interfaceType.Codec.Encoder<io.netty.buffer.ByteBuf>- Throws:
IOException
-
-