huff-tree-tap

Crates.iohuff-tree-tap
lib.rshuff-tree-tap
version
sourcesrc
created_at2021-05-12 13:01:04.0316
updated_at2024-12-24 14:43:04.41534
descriptionHuffman Encoder and Decoder Library
homepage
repositoryhttps://github.com/chimbosonic/huff-tree-tap/
max_upload_size
id396513
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Alexis Lowe (chimbosonic)

documentation

README

Crate License Crate Downloads Crate Size Build

huff-tree-tap

Huffman Encoder and Decoder Library

Example usage

Cargo.toml:

[dependencies]
huff_tree_tap = "*" # You can specify a version here if you want
extern crate huff_tree_tap;
use  huff_tree_tap::*;
use std::collections::HashMap;

let data: Vec<u8> = Vec::from("this is a test string!");
let huffman_data: HuffmanData = HuffmanData::new(&data).unwrap();
let decoded_data: Vec<u8> = huffman_data.decode().unwrap();
assert_eq!(decoded_data,data);
Commit count: 37

cargo fmt