Skip to content

file.loadRaw

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Load a binary file, returning a RawData object

Parameters

Parameter Default Value Note
path

Return value

Condition Return Value
(always) map

Notes

Example

import "file"
import "RawData"
data = file.loadRaw("sprite.bin")
print data.len   // file size in bytes

Clone this wiki locally