 | JCOBridgeDirectBufferTAsSpanFromIndex Method |
Returns a zero-copy
ReadOnlySpanT over the buffer
starting at the specified element index.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntaxpublic ReadOnlySpan<T> AsSpanFromIndex(
int fromIndex
)
Public Function AsSpanFromIndex (
fromIndex As Integer
) As ReadOnlySpan(Of T)
Parameters
- fromIndex Int32
- Zero-based index of the first element to include in the span.
Return Value
ReadOnlySpanT
A
ReadOnlySpanT covering all elements from
fromIndex
to the end of the buffer, backed directly by the native memory buffer.
Exceptions
See Also