File Editor
Directories:
.. (Back)
Exception
Io
Files:
ControlByte.php
DataFieldParser.php
Database.php
DatabaseMetadata.php
Endianness.php
IntegerParser.php
IpAddress.php
IpAddressInterface.php
Node.php
NodeReader.php
NodeRecord.php
Create New File
Create
Edit File: 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; } }
Save Changes
Rename File
Rename