Version: 1.3
LanguageEnglish
  • C#

OpenHarmonyJSArrayBuffer

class in UnityEngine

/

Implemented in:UnityEngine.OpenHarmonyJSModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

OpenHarmonyJSArrayBuffer is the Unity representation of a generic instance of a JavaScript array buffer.

Public Methods

DisposeUse to release a JavaScript array buffer.
GetNapiRefGet napi reference of a JavaScript array buffer.
GetNapiValueGet napi value from napi reference.
GetValueGet the value of a byte array from a JavaScript array buffer.
SetValueSet the value of a byte array into a JavaScript array buffer.