functional overview
Reads a specified number of bytes of data from a specified location in a file.
Details of Functions
file-nameThe file specified in thecharacter codeRead in,start position (of a file, e.g.)from (e.g. time, place, numerical quantity)Number of bytes readThe number of bytes specified in
- attention (heed)
-
character codeis specified other than "no conversion",
The appropriate read start position and number of bytes to read must be specified according to the character encoding of the file.
If the read start position and number of bytes to be read are not specified correctly, operation is not guaranteed. -
Root folder location by OS
OS run state (of a process) Android Folder allocated for the running application in the data storage destination dedicated to the Unifinity Application Player iOS Folder allocated for the running application in the data storage destination dedicated to the Unifinity Application Player Windows Folder where the running application (UAP) is stored *For Windows, file names must be set using only characters that can be expressed in Shift-JIS.
parameter
- argument (e.g. function, program, programme)
-
file-name character string data
Specify the target file name or full path (Windows only).start position (of a file, e.g.) numeric data Number of bytes read numeric data character code Specify the character code.
- UTF-8
- UTF-16LE
- UTF-16BE
- UTF-32LE
- UTF-32BE
- SHIFT-JIS
- ISO-2022-JP
- EUC-JP
- non-conversion
- autojudgement
- return value
-
character string data binary data
Returns the contents of the file read.