Current section
Files
Jump to
Current section
Files
include/postgleam@codec_Codec.hrl
-record(codec, {
type_name :: binary(),
oid :: integer(),
format :: postgleam@codec:format(),
encode :: fun((postgleam@value:value()) -> {ok, bitstring()} |
{error, binary()}),
decode :: fun((bitstring()) -> {ok, postgleam@value:value()} |
{error, binary()})
}).