IP2Location.php
private function readString($pos, $additional = 0) {
    // Get the actual pointer to the string's head
    $spos = $this->readWord($pos) + $additional;

	// Read as much as the length (first "string" byte) indicates
    return $this->read($spos + 1, $this->readByte($spos + 1));
  }
private function readString($pos, $additional = 0) {
    // Get the actual pointer to the string's head
    $spos = $this->readWord($pos) + $additional;

	// Read as much as the length (first "string" byte) indicates
    return $this->read($spos + 1, $this->readByte($spos + 1));
  }
private function readString ( $ pos , $ additional = 0 ) { // Get the actual pointer to the string's head $ spos = $ this -> readWord ( $ pos ) + $ additional ; // Read as much as the length (first "string" byte) indicates return $ this -> read ( $ spos + 1 , $ this -> readByte ( $ spos + 1 ) ) ; }
Low level function to fetch a string from the caching backend

@access private
@param int $pos  Position to read from
@param int $additional  Additional offset to apply
@return string
Low level function to fetch a string from the caching backend