You are here

private function Decoder::decodeUint in Smart IP 6.2

Same name and namespace in other branches
  1. 7.2 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php \MaxMind\Db\Reader\Decoder::decodeUint()
3 calls to Decoder::decodeUint()
Decoder::decodeByType in includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php
Decoder::decodePointer in includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php
Decoder::sizeFromCtrlByte in includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php

File

includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php, line 226

Class

Decoder

Namespace

MaxMind\Db\Reader

Code

private function decodeUint($bytes) {
  list(, $int) = unpack('N', $this
    ->zeroPadLeft($bytes, 4));
  return $int;
}