• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RawFileDescriptor
2
3
4## Overview
5
6Defines the file descriptor information of a file in the **rawfile** directory.
7
8**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.
9
10**Since**
11
128
13
14**Related module**
15
16[Rawfile](rawfile.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| [fd](#fd) | File descriptor of the raw file.|
27| [start](#start) | Start position of the raw file in the HAP.|
28| [length](#length) | Length of the raw file in the HAP.|
29
30
31## Member Variable Description
32
33
34### fd
35
36
37```
38int RawFileDescriptor::fd
39```
40
41**Description**
42
43File descriptor of the raw file.
44
45
46### length
47
48
49```
50long RawFileDescriptor::length
51```
52
53**Description**
54
55Length of the raw file in the HAP.
56
57
58### start
59
60
61```
62long RawFileDescriptor::start
63```
64
65**Description**
66
67Start position of the raw file in the HAP.
68