Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> String
Expand description

Text from a file’s bytes: UTF-16 (little or big endian) with its byte order mark, as a CODESYS .trace is written, otherwise UTF-8 (a byte order mark dropped, invalid bytes replaced).