@SuppressWarnings("unused") public void EnsureBits(int bits) {
			while (bitsleft < bits) {
				int lo = (byte)byteStream.readByte();
				int hi = (byte)byteStream.readByte();
				int amount2shift = ((4)) * 8 - 16 - bitsleft;
				buffer |= ((hi << 8) | lo) << (((4)) * 8 - 16 - bitsleft);
				bitsleft += 16;
			}
		}