Data:getString

Available since LÖVE 0.9.0
This function is not supported in earlier versions.


Gets the full Data as a string.

Function

Synopsis

data = Data:getString( offset, size )

Arguments

Available since LÖVE 12.0
number offset (0)
Optional byte offset into the Data's memory to copy from.
number size (Data:getSize())
Optionally limit the copied string to the specified number of bytes.

Returns

string data
The raw data.

See Also

Other Languages