private DecodeBlock ( string src, byte dst, int beginInd, int endInd ) : void | ||
src | string | |
dst | byte | |
beginInd | int | |
endInd | int | |
Результат | void |
private void DecodeBlock(string src, byte[] dst, int beginInd, int endInd)
{
for (int ind = beginInd; ind < endInd; ind++)
{
int charInd = ind * (int)BlockCharsCount;
int bitInd = ind * BlockBitsCount;
ulong bits = CharsToBits(src, charInd, (int)BlockCharsCount);
AddBits64(dst, bits, bitInd, BlockBitsCount);
}
}