Docs.rs
pdf-lib-rs-0.0.3
pdf-lib-rs 0.0.3
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
asg017
Dependencies
flate2 ^1
normal
thiserror ^2
normal
weezl ^0.1
normal
Versions
42.97%
of the crate is documented
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
utf16_encode
pdf_
lib_
rs
0.0.3
In pdf_
lib_
rs::
utils
pdf_lib_rs
::
utils
Function
utf16_
encode
Copy item path
Source
pub fn utf16_encode(text: &
str
) ->
Vec
<
u16
>
Expand description
Encode a string as UTF-16BE with BOM.