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