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
In code_
rs::
coding::
hamming::
standard
code_rs
::
coding
::
hamming
::
standard
Function
encode
Copy item path
Source
pub fn encode(data:
u16
) ->
u16
Expand description
Encode the given 11 bits of data into a 15-bit codeword.