static private WriteToOutput ( byte value, byte output, int &outputOffset, byte dictionary, int dictionaryTotalSize, int &dictionaryOffset, int &dictionarySize ) : void | ||
value | byte | |
output | byte | |
outputOffset | int | |
dictionary | byte | |
dictionaryTotalSize | int | |
dictionaryOffset | int | |
dictionarySize | int | |
Résultat | void |
static void WriteToOutput(byte value, byte[] output, ref int outputOffset, byte[] dictionary, int dictionaryTotalSize, ref int dictionaryOffset, ref int dictionarySize)
{
dictionary[dictionaryOffset++] = output[outputOffset++] = value;
if (dictionarySize < dictionaryTotalSize)
dictionarySize++;
if (dictionaryOffset >= dictionaryTotalSize)
dictionaryOffset = 0;
}