1# ArkWeb_JavaScriptBridgeData
2
3
4## Overview
5
6Defines the JavaScript Bridge data.
7
8**Since**: 12
9
10**Related module**: [Web](_web.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| const uint8_t \* [buffer](#buffer) | Pointer to the data to be transferred. Only the String and ArrayBuffer types can be transferred from the frontend. Other types will be serialized by JSON and then transferred as the String type. |
21| size_t [size](#size) | Length of the data to be transferred. |
22
23
24## Member Variable Description
25
26
27### buffer
28
29```
30const uint8_t* ArkWeb_JavaScriptBridgeData::buffer
31```
32**Description**
33
34Pointer to the data to be transferred. Only the String and ArrayBuffer types can be transferred from the frontend. Other types will be serialized by JSON and then transferred as the String type.
35
36
37### size
38
39```
40size_t ArkWeb_JavaScriptBridgeData::size
41```
42**Description**
43
44Length of the data to be transferred.
45