Exemplo n.º 1
0
 public override int GetHashCode()
 {
     return((errorCorrectionLevel.ordinal() << 3) | dataMask);
 }
Exemplo n.º 2
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()]);
 }