示例#1
0
 public HNHDR(byte[] bytes)
 {
     this.ClientSigType   = (ClientSig)bytes[3];
     this.bSig            = bytes[2];
     this.OffsetHNPageMap = BitConverter.ToUInt16(bytes, 0);
     this.UserRoot        = new HID(bytes.Skip(4).Take(4).ToArray());
     this.FillLevel_raw   = BitConverter.ToUInt32(bytes, 8);
 }
示例#2
0
 public HNHDR(byte[] bytes)
 {
     this.ClientSigType = (ClientSig)bytes[3];
     this.bSig = bytes[2];
     this.OffsetHNPageMap = BitConverter.ToUInt16(bytes, 0);
     this.UserRoot = new HID(bytes.Skip(4).Take(4).ToArray());
     this.FillLevel_raw = BitConverter.ToUInt32(bytes, 8);
 }