ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.JavaScript
IArrayBuffer Interface
IArrayBuffer Methods
GetBytes Method
InvokeWithDirectAccess Method
ReadBytes Method
WriteBytes Method

# IArrayBufferGetBytes Method

Creates a byte array containing a copy of the ArrayBuffer's contents.
Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    byte[] GetBytes()

    Function GetBytes As Byte()

    array<unsigned char>^ GetBytes()

    abstract GetBytes : unit -> byte[]

#### Return Value

Byte
A new byte array containing a copy of the ArrayBuffer's contents.
See Also

#### Reference

IArrayBuffer Interface
Microsoft.ClearScript.JavaScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft