Blob:getString
EditReturns a binary string containing the Blob's data.
data = Blob:getString()
Arguments
None
Returns
Name | Type | Description |
data | string | The Blob's data. |
Example
Manually copy a file using Blobs:
blob = lovr.filesystem.newBlob('image.png')
lovr.filesystem.write('copy.png', blob:getString())
See also
Blob