From b90dacd2968a14a0cd925cd644204cf97dcb3212 Mon Sep 17 00:00:00 2001 From: ILYA Khlopotov Date: Wed, 15 Jan 2020 07:47:33 -0800 Subject: [PATCH] Export encode_struct and decode_struct functions --- src/thrift_protocol_binary.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thrift_protocol_binary.erl b/src/thrift_protocol_binary.erl index 301a9f1..ec55680 100644 --- a/src/thrift_protocol_binary.erl +++ b/src/thrift_protocol_binary.erl @@ -3,7 +3,7 @@ -include("thrift_protocol.hrl"). --export([encode_message/1, decode_message/1]). +-export([encode_message/1, decode_message/1, encode_struct/1, decode_struct/2]). -define(VERSION, 1).