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