示例#1
0
 public static int Read3byteInt(BinaryReader br)
 {
     byte[] t = br.ReadBytes(3);
     return(NumberTransfer.HexByteArray2Int(0, t[0], t[1], t[2]));
 }
示例#2
0
 public static int ReadInt(BinaryReader br)
 {
     return(NumberTransfer.HexByteArray2Int(br.ReadBytes(4)));
 }