 | JCOBridgeStreamTAsWritableSpan Method |
Returns a zero-copy writable
SpanT over the entire buffer,
starting at offset zero regardless of the current position.
Contract: if any element is modified through the returned span,
FlushOnDispose MUST be called before Dispose(Boolean)
to ensure changes are written back. Failing to do so results in silent data loss.
For single or sparse writes prefer Write(...), which sets the flush flag automatically.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic Span<T> AsWritableSpan()
Public Function AsWritableSpan As Span(Of T)
Return Value
SpanT
A
SpanT of length
Count
backed directly by the native memory buffer.
Exceptions
See Also