bitburner.netscriptport.write.md

September 26, 2025 ยท View on GitHub

Home > bitburner > NetscriptPort > write

NetscriptPort.write() method

Write data to a port.

Signature:

write(value: any): any;

Parameters

Parameter

Type

Description

value

any

Data to write, it's cloned with structuredClone().

Returns:

any

The data popped off the queue if it was full.

Remarks

RAM cost: 0 GB

Contents

  1. 1NetscriptPort.write() method
  2. 2Parameters
  3. 3Remarks