Example #1
0
 /// <summary>
 /// Gets the EC blocks for level.
 /// </summary>
 /// <param name="ecLevel">The ec level.</param>
 /// <returns></returns>
 public ECBlocks getECBlocksForLevel(ErrorCorrectionLevel ecLevel)
 {
     return(ecBlocks[ecLevel.ordinal()]);
 }
 public override int GetHashCode()
 {
     return((errorCorrectionLevel.ordinal() << 3) | dataMask);
 }