示例#1
0
 public static long ReadInt64(Stream stream)
 {
     byte[] buffer = new byte[8];
     stream.Read(buffer, 0, 8);
     return(BigEndianConverter.ToInt64(buffer, 0));
 }
示例#2
0
 public static long ReadInt64(byte[] buffer, ref int offset)
 {
     offset += 8;
     return(BigEndianConverter.ToInt64(buffer, offset - 8));
 }