private function Decoder::verifySize 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::verifySize()
1 call to Decoder::verifySize()
- 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 140
Class
Namespace
MaxMind\Db\ReaderCode
private function verifySize($expected, $actual) {
if ($expected != $actual) {
throw new InvalidDatabaseException("The MaxMind DB file's data section contains bad data (unknown data type or corrupt data)");
}
}