RawFileDescriptor
Overview
Defines the file descriptor of a rawfile. RawFileDescriptor is an output parameter of OH_ResourceManager_GetRawFileDescriptor(). It contains the file descriptor of a raw file and the start position and length of the raw file in the HAP.
Since: 8
Related module: [Rawfile] (rawfile.md)
Summary
Member Variables
Name | Description |
---|---|
fd | File descriptor of the rawfile, in int. |
start | Start position of the rawfile in the HAP, in long. |
length | Length of the rawfile in the HAP, in long. |
Member Variable Description
fd
int RawFileDescriptor::fd
Description
File descriptor of the rawfile, in int.
length
long RawFileDescriptor::length
Description
Length of the rawfile in the HAP, in long.
start
long RawFileDescriptor::start
Description
Start position of the rawfile in the HAP, in long.