Skip to content
Snippets Groups Projects
Commit 5e1087e4 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

File.read() encodes base64, it doesn't decode.

parent 3993af5c
Branches
Tags
No related merge requests found
......@@ -2934,7 +2934,7 @@ static jsSyncMethodSpec js_file_functions[] = {
,310
},
{"read", js_read, 0, JSTYPE_STRING, JSDOCSTR("[maxlen=<i>file_length</i>-<i>file_position</i>]")
,JSDOCSTR("Read a string from file (optionally unix-to-unix or base64 decoding in the process), "
,JSDOCSTR("Read a string from file (optionally unix-to-unix or base64 encoding in the process), "
"<i>maxlen</i> defaults to the current length of the file minus the current file position")
,310
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment