Exemplo n.º 1
0
 public void WriteBytes(byte[] buffer, int offset)
 {
     BigEndianWriter.WriteUInt32(buffer, ref offset, Signature);
     BigEndianWriter.WriteUInt32(buffer, ref offset, (uint)Length);
     BigEndianWriter.WriteUInt32(buffer, ref offset, Kind);
     Expression.WriteBytes(buffer, ref offset);
 }
Exemplo n.º 2
0
 public override void WriteBytes(byte[] buffer, ref int offset)
 {
     BigEndianWriter.WriteUInt32(buffer, ref offset, (uint)RequirementOperatorName.Or);
     Expression1.WriteBytes(buffer, ref offset);
     Expression2.WriteBytes(buffer, ref offset);
 }