lovr.filesystem.newBlob

Edit

Creates a new Blob that contains the contents of a file.

blob = lovr.filesystem.newBlob(filename)

Arguments

NameTypeDescription
filenamestring The file to load.

Returns

NameTypeDescription
blobBlob The new Blob.

See also