silesileCommunityยท1 Agent Skills Included

eetf

Encode and decode Erlang binary terms in Rust

Encodes and decodes Erlang External Term Format binaries in Rust for BEAM interoperability. Handles atoms, tuples, maps, pids, binaries, and big integers without manual byte parsing. Provides pattern matching and type conversion helpers to extract values from decoded terms quickly. Eliminates guesswork when exchanging data between Rust services and Erlang or Elixir systems.
npx skills add sile/eetf --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install eetf?โ–ผ

Run `npx skills add sile/eetf --all -g -y` in your terminal to install this skill globally.

What is Erlang External Term Format?โ–ผ

It is the binary format Erlang and Elixir use to serialize data, produced by term_to_binary/1. This skill lets Rust programs read and write those same bytes.

How to decode term_to_binary output in Rust?โ–ผ

Pass the bytes (starting with version byte 131) to Term::decode with any reader, and you get a typed Term value you can pattern match on.

Can Rust services talk to Erlang or Elixir nodes?โ–ผ

Yes. Encode your Rust data with eetf and send the raw bytes to ports, ErlPort, or binary_to_term/1 on the BEAM side.

Does eetf handle compressed ETF payloads?โ–ผ

Yes. Decoding automatically decompresses zlib-compressed ETF tags, so no extra handling is needed on your side.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’