private int ReadShortInternal() { if (_index>_data.Length-2) { throw new ZipException("End of extra data"); } int result=_data[_index]+(_data[_index+1]<<8); _index+=2; return result; }