예제 #1
0
        private static void ShiftLinearHost(int linearShiftCount)
        {
            IEnumerator <SymbolData> enumerator = encodedData.GetEnumerator();

            while (enumerator.MoveNext())
            {
                SymbolData symbolData = enumerator.Current;
                byte[]     currentRow = symbolData.GetRowData();
                byte[]     newRow     = new byte[symbolData.RowCount + linearShiftCount];
                Array.Copy(currentRow, 0, newRow, linearShiftCount, currentRow.Length);
                symbolData.RowData = newRow;
            }
        }