We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the documentation at https://docs.brilliant.xyz/frame/lua/#file-system, the file:read(*num_bytes) function should read at max num_bytes from the file, or until the end of a line or file. In practice, this does not seem to be the case, and it always reads to the end of the line or file regardless of the value passed to num_bytes. There may be a bug in https://github.com/brilliantlabsAR/frame-codebase/blob/main/source/application/lua_libraries/file.c#L209-L258. Alternatively the documentation may need to be updated. cc @siliconwitch
file:read(*num_bytes)
num_bytes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the documentation at https://docs.brilliant.xyz/frame/lua/#file-system, the
file:read(*num_bytes)
function should read at maxnum_bytes
from the file, or until the end of a line or file. In practice, this does not seem to be the case, and it always reads to the end of the line or file regardless of the value passed tonum_bytes
. There may be a bug in https://github.com/brilliantlabsAR/frame-codebase/blob/main/source/application/lua_libraries/file.c#L209-L258. Alternatively the documentation may need to be updated.cc @siliconwitch
The text was updated successfully, but these errors were encountered: