Exemplo n.º 1
0
 public void Write(CBinaryWriter bw)
 {
     bw.Endian = EndianType.LittleEndian;
     bw.WriteUint32(this.magicBytes);
     this.Header.Write(bw);
     if (this.Data != null)
     {
         bw.Write(this.Data);
     }
 }
Exemplo n.º 2
0
 public void WriteContentType(ContentType Type)
 {
     bw.Seek(0x344L, SeekOrigin.Begin);
     bw.Endian = EndianType.BigEndian;
     bw.WriteUint32((uint)Type);
 }