Set the limit of bytes that the decorator allows to be read from the stream.
int $limit Number of bytes to allow to be read from the stream.: Use -1 for no limit.
public function setLimit(int $limit) : void { $this->limit = $limit; }