摘要:trim string to the specified number of bytes 把字符串转成字节数组后,截断至特定长度时,可能会导致尾部乱码,可以使用以下方法进行安全截断 @@@code foreach (var encode in new Encoding[]{ Encoding.UTF
阅读全文
posted @ 2022-06-23 22:46
冰比冰比冰
posted @ 2022-06-23 22:46
posted @ 2022-06-06 10:13