public function readShort() { $value = $this->extract(); try { return Short::parseShort($value); } catch (NumberFormatException $e) { throw $this->getNumberFormatException($value, 'short', Short::MIN_VALUE, Short::MAX_VALUE); } }