1# DDK_Ashmem 2 3 4## Overview 5 6Defines the data structure of **Ashmem** objects. 7 8**Since** 9 1012 11 12**Related module** 13 14[BASE DDK](_base_ddk.md) 15 16 17## Summary 18 19 20### Member Variables 21 22| Name| Description| 23| -------- | -------- | 24| [ashmemFd](#ashmemfd) | File descriptor of the **Ashmem** object.| 25| [address](#address) | Mapping address of the **Ashmem** object.| 26| [size](#size) | Length of the data array.| 27| [offset](#offset) | Data offset.| 28| [bufferLength](#bufferlength) | Length of the data array that is actually used.| 29| [transferredLength](#transferredlength) | Length of the data to transfer.| 30 31 32## Member Variable Description 33 34 35### ashmemFd 36 37 38~~~ 39int32_t ashmemFd 40~~~ 41 42**Description** 43 44File descriptor of the **Ashmem** object. 45 46 47### address 48 49 50~~~ 51const uint8_t * address 52~~~ 53 54**Description** 55 56Mapping address of the **Ashmem** object. 57 58 59### size 60 61 62~~~ 63const uint32_t size 64~~~ 65 66**Description** 67 68Length of the data array. 69 70 71### offset 72 73 74~~~ 75uint32_t offset 76~~~ 77 78**Description** 79 80Data offset. 81 82 83### bufferLength 84 85 86~~~ 87uint32_t bufferLength 88~~~ 89 90**Description** 91 92Length of the data array that is actually used. 93 94 95### transferredLength 96 97 98~~~ 99uint32_t transferredLength 100~~~ 101 102**Description** 103 104Length of the data to transfer. 105