WordPress at a glance
function is not described

MaxMind\Db\Reader

Decoder::decodeMap() private WC 1.0

{} It's a method of the class: Decoder{}

No Hooks.

Return

Null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->decodeMap( $size, $offset );
$size (required)
-
$offset (required)
-

Code of Decoder::decodeMap() WC 5.0.0

<?php
private function decodeMap($size, $offset)
{
    $map = [];

    for ($i = 0; $i < $size; ++$i) {
        list($key, $offset) = $this->decode($offset);
        list($value, $offset) = $this->decode($offset);
        $map[$key] = $value;
    }

    return [$map, $offset];
}