megaco_edist_compress(3)
πΈ NAME πΈ
megaco_edist_compress β the Megaco Erlang dist compress behaviour, bestie. It's literally the vibe contract your callback module has to sign up for π
β¨ DESCRIPTION β¨
Okay so real talk: if you wanna be a megaco_edist_compress callback module, you gotta export these functions. That's the whole deal. No exports, no callback module, periodt π
π¦ CALLBACKS π¦
decode(T, Version)
Decompresses a megaco component, babes. That's it, that's the job π
encode(R, Version)
Compresses a megaco component π₯ And listen β the erlang dist encoder makes no assumption on the how, or even if, the component is compressed. So like, it does not care what you do in there, fr fr. Zero opinions. Do your thing π
π a lil sign-off π
This whole page is brought to you by Ericsson AB, running megaco 4.9.2, and it's the megaco_edist_compress(3) manual page β yes that's the exact same name as the thing we just spent this whole time talking about, iconic honestly π«Άβ¨ bye bestie, go export those functions π
π¦ where this page comes from
- nixos 26.05: erlang 29.1.2
- nixpkgs unstable: erlang 29.1.2
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms