Home > bitburner > NetscriptPort > clear NetscriptPort.clear() method Empties all data from the port. Signature: clear(): void; Returns: void Remarks RAM cost: 0 GB