1e41f4b71Sopenharmony_ci# RawFileDescriptor
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Overview
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciDefines the file descriptor of a rawfile.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci**RawFileDescriptor** is an output parameter of [OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#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.
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci**Since**: 8
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci**Related module**: [Rawfile](rawfile.md)
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci## Summary
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci### Member Variables
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci| Name| Description| 
21e41f4b71Sopenharmony_ci| -------- | -------- |
22e41f4b71Sopenharmony_ci| int [fd](#fd) | File descriptor of the rawfile, in int. | 
23e41f4b71Sopenharmony_ci| long [start](#start) | Start position of the rawfile in the HAP, in long. | 
24e41f4b71Sopenharmony_ci| long [length](#length) | Length of the rawfile in the HAP, in long. | 
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci## Member Variable Description
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci### fd
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci```
33e41f4b71Sopenharmony_ciint RawFileDescriptor::fd
34e41f4b71Sopenharmony_ci```
35e41f4b71Sopenharmony_ci**Description**
36e41f4b71Sopenharmony_ciFile descriptor of the rawfile, in int.
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci### length
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci```
42e41f4b71Sopenharmony_cilong RawFileDescriptor::length
43e41f4b71Sopenharmony_ci```
44e41f4b71Sopenharmony_ci**Description**
45e41f4b71Sopenharmony_ciLength of the rawfile in the HAP, in long.
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci
48e41f4b71Sopenharmony_ci### start
49e41f4b71Sopenharmony_ci
50e41f4b71Sopenharmony_ci```
51e41f4b71Sopenharmony_cilong RawFileDescriptor::start
52e41f4b71Sopenharmony_ci```
53e41f4b71Sopenharmony_ci**Description**
54e41f4b71Sopenharmony_ciStart position of the rawfile in the HAP, in long.
55