IArrayBuffer.ReadBytes(UInt64, UInt64, Span<Byte>, UInt64) Method |
Copies bytes from the ArrayBuffer into the specified byte span.
Namespace: Microsoft.ClearScript.JavaScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxulong ReadBytes(
ulong offset,
ulong count,
Span<byte> destination,
ulong destinationIndex
)
Function ReadBytes (
offset As ULong,
count As ULong,
destination As Span(Of Byte),
destinationIndex As ULong
) As ULong
unsigned long long ReadBytes(
unsigned long long offset,
unsigned long long count,
Span<unsigned char> destination,
unsigned long long destinationIndex
)
abstract ReadBytes :
offset : uint64 *
count : uint64 *
destination : Span<byte> *
destinationIndex : uint64 -> uint64
Parameters
- offset UInt64
- The offset within the ArrayBuffer of the first byte to copy.
- count UInt64
- The maximum number of bytes to copy.
- destination Span<Byte>
- The byte span into which to copy the bytes.
- destinationIndex UInt64
- The index within destination at which to store the first copied byte.
Return Value
UInt64The number of bytes copied.
See Also