目录

rawfile

Overview

The rawfile module allows developers to access the rawfile directory or resource files in the directory at the Native layer, including traversing, opening, reading, seeking, and closing.

Traverse a directory: open the rawfile directory, obtain the file list in the directory, traverse file names, and support multi-level directory traversal.

Read a file: open a rawfile, read the file content, seek the read/write position, obtain the file size and current offset, get the file descriptor, and support files larger than 2GB.

Since: 8

Files

Name Description
raw_file_manager.h This module can be used to create and release NativeResourceManager objects, and open rawfile files and directories.
raw_dir.h Provides functions related to rawfile directory operations, including traversing directories, obtaining the number of files, obtaining file names, and closing directories.
raw_file.h Provides capabilities for operating rawfile files, including reading files, obtaining the file length, obtaining the offset position, adjusting the offset position, obtaining file descriptors, and closing file descriptors.