Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteGatherAtOffsetAsync()

static ValueTask System.IO.RandomAccess.WriteGatherAtOffsetAsync ( SafeFileHandle handle,
IReadOnlyList< ReadOnlyMemory< byte > > buffers,
long fileOffset,
CancellationToken cancellationToken )
inlinestaticprivate

Definition at line 675 of file RandomAccess.cs.

676 {
677 if (!handle.IsAsync)
678 {
680 }
682 {
684 }
686 }
static async ValueTask WriteGatherAtOffsetMultipleSyscallsAsync(SafeFileHandle handle, IReadOnlyList< ReadOnlyMemory< byte > > buffers, long fileOffset, CancellationToken cancellationToken)
static async ValueTask WriteGatherAtOffsetSingleSyscallAsync(SafeFileHandle handle, MemoryHandle[] handlesToDispose, IntPtr segmentsPtr, long fileOffset, int totalBytes, CancellationToken cancellationToken)
static ValueTask ScheduleSyncWriteGatherAtOffsetAsync(SafeFileHandle handle, IReadOnlyList< ReadOnlyMemory< byte > > buffers, long fileOffset, CancellationToken cancellationToken)
static bool CanUseScatterGatherWindowsAPIs(SafeFileHandle handle)
static Memory< byte > long CancellationToken cancellationToken
static Memory< byte > long fileOffset

References System.buffers, System.IO.RandomAccess.cancellationToken, System.IO.RandomAccess.CanUseScatterGatherWindowsAPIs(), System.IO.RandomAccess.fileOffset, System.handle, System.IO.RandomAccess.ScheduleSyncWriteGatherAtOffsetAsync(), System.IO.RandomAccess.WriteGatherAtOffsetMultipleSyscallsAsync(), and System.IO.RandomAccess.WriteGatherAtOffsetSingleSyscallAsync().

Referenced by System.IO.RandomAccess.WriteAsync().