Skip to main content
Reads an existing regular file inside the workspace in binary mode and returns its bytes as a Lua string.

Syntax

Aliases

  • readfileasync

Arguments

Returns

Example

Read bytes from an existing workspace file.