bitburner-src/markdown/bitburner.netscriptport.write.md

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