Skip to content

Commit

Permalink
Add support for small and tiny ints in response decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
RAttab authored and lpgauth committed Mar 18, 2024
1 parent 7ff2afc commit 89204db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/marina_body.erl
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ decode_type(<<16#F:16, Rest/binary>>) ->
{timeuuid, Rest};
decode_type(<<16#10:16, Rest/binary>>) ->
{inet, Rest};
decode_type(<<16#13:16, Rest/binary>>) ->
{smallint, Rest};
decode_type(<<16#14:16, Rest/binary>>) ->
{tinyint, Rest};
decode_type(<<16#20:16, Rest/binary>>) ->
{Type, Rest2} = decode_type(Rest),
{{list, Type}, Rest2};
Expand Down

0 comments on commit 89204db

Please sign in to comment.