HEX
Server: LiteSpeed
System: Linux server302.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: synqowzz (1256)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/synqowzz/www/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/IntegerParser.php
<?php

namespace Wordfence\MmdbReader;

class IntegerParser {

	public static function parseUnsigned($handle, $length) {
		$value = 0;
		for ($i = 0; $i < $length; $i++) {
			$byte = $handle->readByte();
			$value = ($value << 8) + $byte;
		}
		return $value;
	}

}