IArrayBufferWriteBytes Method |
Copies bytes from the specified byte array into the ArrayBuffer.
Namespace:
Microsoft.ClearScript.JavaScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxulong WriteBytes(
byte[] source,
ulong sourceIndex,
ulong count,
ulong offset
)
Function WriteBytes (
source As Byte(),
sourceIndex As ULong,
count As ULong,
offset As ULong
) As ULong
unsigned long long WriteBytes(
array<unsigned char>^ source,
unsigned long long sourceIndex,
unsigned long long count,
unsigned long long offset
)
abstract WriteBytes :
source : byte[] *
sourceIndex : uint64 *
count : uint64 *
offset : uint64 -> uint64
Parameters
- source
- Type: SystemByte
The byte array from which to copy the bytes. - sourceIndex
- Type: SystemUInt64
The index within source of the first byte to copy. - count
- Type: SystemUInt64
The maximum number of bytes to copy. - offset
- Type: SystemUInt64
The offset within the ArrayBuffer at which to store the first copied byte.
Return Value
Type:
UInt64The number of bytes copied.
See Also