gsm7 0.4.0

GSM-7 (aka GSM 03.38 or 3GPP 23.038) encoding and decoding in Rust
Documentation
  • Coverage
  • 0%
    0 out of 12 items documented0 out of 11 items with examples
  • Size
  • Source code size: 9.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 519.12 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jbg

GSM-7 (aka GSM 03.38 or 3GPP 23.038) encoding and decoding in Rust

API Documentation

Example

Decoding

let v = vec![84, 58, 157, 14];
let reader = Gsm7Reader::new(io::Cursor::new(&v));
let s = reader.collect::<io::Result<String>>()?;
assert_eq!(&s, "Tttt");

Encoding

let mut writer = Gsm7Writer::new(Vec::new());
writer.write_str("Hello")?;

let v = writer.into_writer()?;
println!("v: {:?}", v);

License

gsm7 is distributed under the MIT license.