fs.binary

fs.binary

fs.binary

Function

Read the binary content of the file.

Syntax

Parameters

No parameters.

Return value

TypeDescription
ArrayReturns an array of bytes, each element being an Int from 0 to 255.

Example

Notes

  • Suitable for reading non-text files or content that needs to be processed byte by byte.