pub fn decode_utf8_stream(pending: &mut Vec<u8>, bytes: &[u8]) -> StringExpand description
TextDecoder.decode(bytes, {stream: true}): appends bytes to pending
and decodes what is complete. A character cut off at the end stays
pending; invalid bytes become U+FFFD.