mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
22 lines
398 B
Markdown
22 lines
398 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NetscriptPort](./bitburner.netscriptport.md) > [clear](./bitburner.netscriptport.clear.md)
|
|
|
|
## NetscriptPort.clear() method
|
|
|
|
Empties all data from the port.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
clear(): void;
|
|
```
|
|
**Returns:**
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0 GB
|
|
|