You are here

public function Decoder::__construct 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::__construct()

File

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

Class

Decoder

Namespace

MaxMind\Db\Reader

Code

public function __construct($fileStream, $pointerBase = 0, $pointerTestHack = false) {
  $this->fileStream = $fileStream;
  $this->pointerBase = $pointerBase;
  $this->pointerTestHack = $pointerTestHack;
  $this->switchByteOrder = $this
    ->isPlatformLittleEndian();
}