huffman_table 1.0.0 copy "huffman_table: ^1.0.0" to clipboard
huffman_table: ^1.0.0 copied to clipboard

Implements Huffman coding for data compression, providing methods to encode and decode data using frequency-based tree structures.

example/huffman_table_example.dart

import 'package:huffman_table/huffman_table.dart';

void main() {
  var phase = 'a dead dad ceded a bad babe a beaded abaca bed';
  var table = HuffmanTable.fromIterable(phase.split(''));
  print(table.encode());
}
0
likes
150
points
112
downloads

Publisher

unverified uploader

Weekly Downloads

Implements Huffman coding for data compression, providing methods to encode and decode data using frequency-based tree structures.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on huffman_table