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

◆ WriteGatherAtOffsetSingleSyscallAsync()

static async ValueTask System.IO.RandomAccess.WriteGatherAtOffsetSingleSyscallAsync ( SafeFileHandle handle,
MemoryHandle[] handlesToDispose,
IntPtr segmentsPtr,
long fileOffset,
int totalBytes,
CancellationToken cancellationToken )
inlinestaticprivate

Definition at line 688 of file RandomAccess.cs.

689 {
690 try
691 {
693 }
694 finally
695 {
697 }
698 }
static unsafe void CleanupScatterGatherBuffers(MemoryHandle[] handlesToDispose, IntPtr segmentsPtr)
static unsafe ValueTask WriteFileGatherAsync(SafeFileHandle handle, IntPtr segmentsPtr, int bytesToWrite, long fileOffset, CancellationToken cancellationToken)
static Memory< byte > long CancellationToken cancellationToken
static Memory< byte > long fileOffset

References System.IO.RandomAccess.cancellationToken, System.IO.RandomAccess.CleanupScatterGatherBuffers(), System.IO.RandomAccess.fileOffset, System.handle, and System.IO.RandomAccess.WriteFileGatherAsync().

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