BurntSushi/encoding_rs_io

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

Open

#4 aperta il 8 ago 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (8 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (29 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor