示例#1
0
 public static ulong ReadUInt64(Stream stream)
 {
     byte[] buffer = new byte[8];
     stream.Read(buffer, 0, 8);
     return(LittleEndianConverter.ToUInt64(buffer, 0));
 }
示例#2
0
 public static ulong ReadUInt64(byte[] buffer, ref int offset)
 {
     offset += 8;
     return(LittleEndianConverter.ToUInt64(buffer, offset - 8));
 }