public function tell() : int
	{
		if (! \is_resource($this->resource))
		{
			throw new Exception\UntellableStreamException('Stream is not resourceable');
		}

		$result = \ftell($this->resource);

		if (false === $result)
		{
			throw new Exception\UntellableStreamException('Unable to get the stream pointer position');
		}

		return $result;
	}