 | ReadOnlySpanT(Void*, Int32) Constructor |
Creates a new
ReadOnlySpanT from a raw pointer and a length.
The caller guarantees that the memory stays valid and fixed for the lifetime of the span.
Namespace: SystemAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic ReadOnlySpan(
void* ptr,
int length
)
Visual Basic does not support APIs that consume or return unsafe types.
Parameters
- ptr Void*
- Pointer to the first element.
- length Int32
- Number of elements.
Exceptions
See Also