lovr.filesystem.newBlob

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

blob = lovr.filesystem.newBlob(filename)

Arguments

NameTypeDescription
filenamestringThe file to load.

Returns

NameTypeDescription
blobBlobThe new Blob.

See also