lib/SteamCondenser/ByteBuffer.php
public function limit($newLimit = null) {
        if($newLimit == null) {
            return $this->limit;
        } else {
            $this->limit = $newLimit;
            return null;
        }
    }
public function limit($newLimit = null) {
        if($newLimit == null) {
            return $this->limit;
        } else {
            $this->limit = $newLimit;
            return null;
        }
    }
Sets or returns the <var>limit</var> of the buffer

@param int $newLimit Sets the buffer's <var>limit</var> to this value
@return int If no new <var>limit</var> value is given, the current value