pub fn encode_with_options(data: &[u8], allow_compression: bool) -> String
将字节切片编码为 DX 格式,可选择是否启用压缩
data
allow_compression
以 ‘dx’ 为前缀的编码字符串