Docs.rs
host-api-0.0.1
host-api 0.0.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
replghost
Dependencies
log ^0.4
normal
serde ^1
normal
serde_json ^1
normal
wasm-bindgen-test ^0.3
dev
proptest ^1
dev
Versions
28.96%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
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_string
host_
api
0.0.1
In host_
api::
codec
host_api
::
codec
Function
encode_
string
Copy item path
Source
pub fn encode_string(buf: &mut
Vec
<
u8
>, s: &
str
)
Expand description
SCALE string: compact length + UTF-8 bytes.