会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FrankYou
"If I had eight hours to chop down a tree, I would spend six hours sharpening my axe." A. Lincoln
博客园
首页
新随笔
联系
订阅
管理
2016年9月5日
.NET删除字节数组中的0字节
摘要: private static byte[] Decode(byte[] packet) { var i = packet.Length - 1; while (packet[i] == 0) { --i; } var temp = new byte[i + 1]; Array.Copy(packet, temp, i + 1); ...
阅读全文
posted @ 2016-09-05 14:05 FrankYou
阅读(601)
评论(0)
推荐(0)
公告