private function Decoder::decodeInt32 in Smart IP 6.2
Same name and namespace in other branches
- 7.2 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php \MaxMind\Db\Reader\Decoder::decodeInt32()
1 call to Decoder::decodeInt32()
- Decoder::decodeByType 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 180
Class
Namespace
MaxMind\Db\ReaderCode
private function decodeInt32($bytes) {
$bytes = $this
->zeroPadLeft($bytes, 4);
list(, $int) = unpack('l', $this
->maybeSwitchByteOrder($bytes));
return $int;
}