commit | 2ee78cb1d0cd88b75e472a2546954ce6f0a8f6be | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Thu Oct 19 05:22:07 2017 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Thu Oct 19 05:22:07 2017 +0900 |
tree | 4d0f186cd46c015fe68228fcc27441565b6e76d7 | |
parent | 811b3d3db22fbcd40f1f5221f30d89e169f85fad [diff] |
version bump
An Erlang implementation of Thrift protocol.
Body = #thrift_protocol_struct{ fields = #{1 => true, 2 => {i8, -1}} }, Message = #thrift_protocol_message{ method_name = <<"foo">>, message_type = call, sequence_id = 0, body = Body }, Encoded = list_to_binary(thrift_protocol:encode_message(Message, compact)), <<130,33,0,3,102,111,111,17,19,255,0>> = Encoded, {Decoded, <<>>} = thrift_protocol:decode_message(Encoded, compact), Message = Decoded.