This is tiny (170 LOC) but robust Erlang Term Format (ETF) encoder/decoder.
Add library to your project:
$ dotnet add package etf
Open ETF namespace:
open ETFUse decodeTerm and encodeTerm:
let τ = Term.String "hello world"
let bytes = encodeTerm τ
let ρ = decodeTerm bytes- Maxim Sokhatsky
- Siegmentation Fault