mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 18:07:33 +01:00
22 lines
404 B
Markdown
22 lines
404 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.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
clear(): void;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
void
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|