BurntSushi/encoding_rs_io

implement Read::read_to_string on top of Decoder::decode_to_string

Open

#4 opened on Aug 8, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (8 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (29 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This is a possibly somewhat common method, and the decoder in this crate could implement it more efficiently by avoiding UTF-8 re-validation. See @hsivonen's comment here: https://github.com/hsivonen/encoding_rs/issues/8#issuecomment-411356371

Contributor guide