Class Jsons.BinEncoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Jsons.BinEncoder
-
- All Implemented Interfaces:
Type.Codec.Encoder<io.netty.buffer.ByteBuf>
- Enclosing class:
- Jsons
public static class Jsons.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
-
-