Docs.rs
code-rs-1.0.1
code-rs 1.0.1
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
vihu
Dependencies
binfield_matrix ^0.2.0
normal
cai_cyclic ^0.1.2
normal
cai_golay ^0.1.1
normal
collect_slice ^1.2.0
normal
num-traits ^0.2.0
normal
Versions
88.89%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
code_rs
1.0.1
Module long
Module Items
Functions
In code_
rs::
coding::
reed_
solomon
code_rs
::
coding
::
reed_solomon
Module
long
Copy item path
Source
Expand description
Encoding and decoding of the (36, 20, 17) code.
Functions
ยง
decode
Try to decode the given 36-hexbit word to the nearest codeword, correcting up to 8 hexbit errors (up to 48 bit errors.)
encode
Calculate the 16 parity hexbits for the first 20 data hexbits in the given buffer, placing the parity hexbits at the end of the buffer.