BurntSushi/encoding_rs_io
View on GitHubimplement Read::read_to_string on top of Decoder::decode_to_string
Open
#4 opened on Aug 8, 2018
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