UnmanagedMemoryAccessor.WriteArray<T> Method (Int64, T, Int32, Int32)
Writes structures from an array of type T into the accessor.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] public void WriteArray<T>( long position, T array, int offset, int count ) where T : struct
The number of bytes into the accessor at which to begin writing.
The array to write into the accessor.
The index in array to start writing from.
The number of structures in array to write.
The type of structure.
There are not enough bytes in the accessor after position to write the number of structures specified by count.
position is less than zero or greater than the capacity of the accessor.
offset or count is less than zero.
array is null.
The accessor does not support writing.
The accessor has been disposed.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 4.0