Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

writeToBinaryFile(filepath, bytes [, append])

Description

Excerpt

Prints in the specified bytes to a specified file. The file can be overwritten or appended to.

...

Parameter name

Type

Required

Description

filepath

string

Yes

Specifies the file name to write in.

bytes

byte []
(Array of bytes)

Yes

Specifies the bytes to be written to the file.

booleanappend

boolean

No

'true' if new line is added after character expression is bytes are added to the end of the file, otherwise 'false' (default) the whole file will be overwritten.

...