🟧ReadString
Function reads a string in binary read mode.
Usage Example
local f = file.Open( "my-file.dat", "rb", "DATA" )
if not f then return end
local str = f:ReadString()
print( str )
-- string line from file
f:Close()
Last updated
Was this helpful?