.TH megaco_edist_compress 3erl "megaco 3.18.1" "Ericsson AB" "Erlang Module Definition" .SH NAME megaco_edist_compress \- Megaco erlang dist compress behaviour. .SH DESCRIPTION .LP The following functions should be exported from a \fImegaco_edist_compress\fR\& callback module: .SH EXPORTS .LP .B Module:encode(R, Version) -> T .br .RS .LP Types: .RS 3 R = megaco_message() | transaction() | action_reply() | action_request() | command_request() .br Version = integer() .br T = term() .br .RE .RE .RS .LP Compress a megaco component\&. The erlang dist encoder makes no assumption on the how or even if the component is compressed\&. .RE .LP .B Module:decode(T, Version) -> R .br .RS .LP Types: .RS 3 T = term() .br Version = integer() .br R = megaco_message() | transaction() | action_reply() | action_request() | command_request() .br .RE .RE .RS .LP Decompress a megaco component\&. .RE