pub fn parse_bytes_with_encoding(
line: &[u8],
encoding: FileEncodingHint,
) -> Result<LogEvent, ParseError>Expand description
按指定编码自动识别并解析一条字节记录。
pub fn parse_bytes_with_encoding(
line: &[u8],
encoding: FileEncodingHint,
) -> Result<LogEvent, ParseError>按指定编码自动识别并解析一条字节记录。