C# note

byte[] array={1,2};
int offset = 0;
int result = BitConverter.ToInt16(array, offset);

 ---

output: result = 0x00000201

posted @ 2014-12-27 20:22  StuJnX6ry  阅读(187)  评论(0编辑  收藏  举报