Esempio n. 1
0
 public static Header FromBytes(byte[] data, int offset)
 {
     Header result = new Header();
     result.Cookie = Utilities.BytesToString(data, offset, 8);
     result.DataOffset = Utilities.ToInt64BigEndian(data, offset + 8);
     return result;
 }