harmony 鸿蒙raw_file.h
raw_file.h
Overview
Provides functions for operating rawfiles.
These functions include searching, reading, and closing rawfiles.
Since: 8
Related Modules:
Summary
Structs
Name | Description |
---|---|
RawFileDescriptor | Provides rawfile descriptor information. |
Types
Name | Description |
---|---|
RawFile | Provides the function of accessing rawfiles. |
Functions
Name | Description |
---|---|
OH_ResourceManager_ReadRawFile (const RawFile *rawFile, void *buf, size_t length) | Reads a rawfile. |
OH_ResourceManager_SeekRawFile (const RawFile *rawFile, long offset, int whence) | Seeks for the data read/write position in the rawfile based on the specified offset. |
OH_ResourceManager_GetRawFileSize (RawFile *rawFile) | Obtains the length of a rawfile in int32_t. |
OH_ResourceManager_CloseRawFile (RawFile *rawFile) | Closes an opened RawFile and releases all associated resources. |
OH_ResourceManager_GetRawFileOffset (const RawFile *rawFile) | Obtains the current offset of the rawfile in int32_t. |
OH_ResourceManager_GetRawFileDescriptor (const RawFile *rawFile, RawFileDescriptor &descriptor) | Opens a rawfile descriptor. |
OH_ResourceManager_ReleaseRawFileDescriptor (const RawFileDescriptor &descriptor) | Closes a rawfile descriptor. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦