iTextSharp.text.pdf.codec.LZWStringTable.Hash C# (CSharp) Method

Hash() public static method

public static Hash ( short index, byte lastbyte ) : int
index short
lastbyte byte
return int
        public static int Hash(short index, byte lastbyte)
        {
            return ((int)((short)(lastbyte << 8) ^ index) & 0xFFFF) % HASHSIZE;
        }