Registry / utility / encoding-rs-io

encoding-rs-io

JSON →
library0.1.7rscratesunverified

Provides streaming transcoding between character encodings using the encoding_rs library.

# Cargo.toml [dependencies] encoding_rs_io = "0.1.7"
INSTALL
IMPORT
SIG · ENCODING-RS-IO
E
encoding-rs-io
utilityrustv0.1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Decode
✓ use encoding_rs_io::Decode;

Decodes a byte stream from UTF-16LE to a Rust String.

use encoding_rs_io::Decode; use std::io::{BufReader, Read}; let input: &[u8] = b"\xff\xfe\x41\x00"; let mut decoder = Decode::new(encoding_rs::UTF_16LE, BufReader::new(input)); let mut output = String::new(); decoder.read_to_string(&mut output).unwrap(); println!("{}", output);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
encoding-rs-io — cargo add encoding-rs-io · libregistry