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
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
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 shortened
Module Items
Functions
In code_
rs::
coding::
golay
code_rs
::
coding
::
golay
Module
shortened
Copy item path
Source
Expand description
Encoding and decoding of the (18, 6, 8) code.
Functions
ยง
decode
Try to decode the given 18-bit word to the nearest codeword, correcting up to 3 errors.
encode
Encode the given 6 data bits to an 18-bit codeword.