Docs.rs
code-rs-1.0.1
code-rs 1.0.1
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 extended
Module Items
Functions
In code_
rs::
coding::
golay
code_rs
::
coding
::
golay
Module
extended
Copy item path
Source
Expand description
Encoding and decoding of the (24, 12, 8) extended Golay code.
Functions
ยง
decode
Try to decode the given 24-bit word to the nearest codeword, correcting up to 3 errors and detecting 4 errors.
encode
Encode the given 12 data bits into a 24-bit codeword.