A Blob is an object that holds binary data. It can be passed to most functions that take filename arguments, like or Blobs aren't usually necessary for simple projects, but they can be really helpful if:

A Blob's size cannot be changed once it is created.

Constructors a new Blob.
lovr.filesystem.newBlobCreate a new Blob from a file.


Blob:getNameGet the label of the Blob.
Blob:getPointerGet a raw pointer to the Blob's data.
Blob:getSizeGet the size of the Blob's data.
Blob:getStringGet the Blob's contents as a string.

See also