reading image files in graphics adapter

This commit is contained in:
minjaesong
2022-04-06 17:09:27 +09:00
parent f992713e85
commit 4c19e19b8a
17 changed files with 1838 additions and 5 deletions

View File

@@ -49,8 +49,14 @@ Variables can be set or changed using \textbf{SET} commands.
\2Operation Mode: \textbf{R} for read, \textbf{W} for overwrite, \textbf{A} for append
\1\textbf{readAll}(driveLetter: String)
\\Reads entire content of the file and return it as a string.
\1\textbf{readAllBytes}(driveLetter: String)
\\Reads entire content of the file and return it as a array of bytes.
\1\textbf{getFileLen}(driveLetter: String)
\\Returns a size of the file currently opened.
\1\textbf{write}(driveLetter: String, bytes: String)
\\Writes bytes onto the file opened for specified drive.
\1\textbf{writeBytes}(driveLetter: String, bytes: ByteArray)
\\Writes bytes onto the file opened for specified drive.
\1\textbf{isDirectory}(driveLetter: String)
\\Returns true if the file opened for the drive is a directory.
\1\textbf{mkDir}(driveLetter: String)