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

◆ WriteGatherAtOffsetMultipleSyscallsAsync()

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

Definition at line 727 of file RandomAccess.cs.

728 {
730 for (int i = 0; i < buffersCount; i++)
731 {
734 fileOffset += rom.Length;
735 }
736 }
static ValueTask WriteAtOffsetAsync(SafeFileHandle handle, ReadOnlyMemory< byte > buffer, long fileOffset, CancellationToken cancellationToken, OSFileStreamStrategy strategy=null)
static Memory< byte > long CancellationToken cancellationToken
static Memory< byte > long fileOffset

References System.buffers, System.IO.RandomAccess.cancellationToken, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.IO.RandomAccess.fileOffset, System.handle, and System.IO.RandomAccess.WriteAtOffsetAsync().

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