SafeBuffer.WriteSpan<T>(UInt64, ReadOnlySpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Writes the value types from a read-only span to a memory location.
public:
generic <typename T>
where T : value class void WriteSpan(System::UInt64 byteOffset, ReadOnlySpan<T> data);
[System.CLSCompliant(false)]
public void WriteSpan<T> (ulong byteOffset, ReadOnlySpan<T> data) where T : struct;
[<System.CLSCompliant(false)>]
member this.WriteSpan : uint64 * ReadOnlySpan<'T (requires 'T : struct)> -> unit (requires 'T : struct)
Public Sub WriteSpan(Of T As Structure) (byteOffset As ULong, data As ReadOnlySpan(Of T))
Type Parameters
- T
The value type to write.
Parameters
- byteOffset
- UInt64
The location in memory to write to.
- data
- ReadOnlySpan<T>
The input span.
- Attributes
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.