Example #1
0
 public static uint ReadUInt32(byte[] buffer, ref int offset)
 {
     offset += 4;
     return(LittleEndianConverter.ToUInt32(buffer, offset - 4));
 }
Example #2
0
 public static uint ReadUInt32(Stream stream)
 {
     byte[] buffer = new byte[4];
     stream.Read(buffer, 0, 4);
     return(LittleEndianConverter.ToUInt32(buffer, 0));
 }