Docs.rs
donglora-client-0.2.0
donglora-client 0.2.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
swaits
Dependencies
anyhow ^1
normal
serialport ^4
normal
tracing ^0.1
normal
ucobs ^0.3
normal
Versions
67.97%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
i686-pc-windows-msvc
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
Skip to main content
encode_frame
donglora_
client
0.2.0
In donglora_
client::
codec
donglora_client
::
codec
Function
encode_
frame
Copy item path
Source
pub fn encode_frame(data: &[
u8
]) ->
Vec
<
u8
>
ⓘ
Expand description
COBS-encode data and append the
0x00
sentinel.