Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="data">Data type</param>
 /// <param name="index">Array index</param>
 public ArrayField(BufferData data, uint index)
     : base(data)
 {
     this.index = index;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="data">Data type</param>
 protected BufferField(BufferData data) => Data = data ?? throw new ArgumentNullException(nameof(data));