mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 16:37:33 +01:00
608 B
608 B
Home > bitburner > NetscriptPort > write
NetscriptPort.write() method
Write data to a port.
Signature:
write(value: string | number): null | string | number;
Parameters
Parameter | Type | Description |
---|---|---|
value | string | number |
Returns:
null | string | number
The data popped off the queue if it was full.
Remarks
RAM cost: 0 GB