コード例 #1
0
ファイル: Attributes.cs プロジェクト: yuanqi-che/Kernelhub
 protected override void Decode(byte[] data)
 {
     Length = br.ReadUInt32();
     Flags  = (Interop.PacAttribute)br.ReadInt32();
 }
コード例 #2
0
ファイル: Attributes.cs プロジェクト: yuanqi-che/Kernelhub
 public Attributes()
 {
     Type   = PacInfoBufferType.Attributes;
     Length = 2; // always going to be 2?
     Flags  = Interop.PacAttribute.PAC_WAS_REQUESTED;
 }