eterl 1.0.1 copy "eterl: ^1.0.1" to clipboard
eterl: ^1.0.1 copied to clipboard

Eterl is a fast packer and unpacker for the External Term Erlang Format (version 131).

Eterl (External Term Erlang (format)) #

Eterl is a fast packer and unpacker for the External Term Erlang Format (version 131).

Example #

import 'package:eterl/eterl.dart';

void main() {
    final data = [{'hello': ['eterl', 1,2,3], 'l': [{'im': 'nested', 'i': {'also': 'support unicode 💀🗿🥀 èè¨àà¨ü!ääüäöä£üüöäüéèéè>>>><<<<>>~~~'}}]}];
    final packed = eterl.pack(data);
    final unpacked = eterl.unpack(packed);
    print(unpacked);
}

Supported terms #

  • Strings
  • Atoms (only while decoding)
  • bools
  • doubles
  • ints
  • BigInts*
  • Maps
  • Lists
  • Tuples (only while decoding)

Warning BigInts are serialized into Strings when dart is transpiled to javascript, and ints when 64-bits ints are supported and the BigInt is less than maxIntValue, otherwise, a BigInt is returned.

3
likes
0
pub points
54%
popularity

Publisher

verified publisherrapougnac.moe

Eterl is a fast packer and unpacker for the External Term Erlang Format (version 131).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

decimal

More

Packages that depend on eterl