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

◆ CanUseScatterGatherWindowsAPIs()

static bool System.IO.RandomAccess.CanUseScatterGatherWindowsAPIs ( SafeFileHandle handle)
inlinestaticprivate

Definition at line 523 of file RandomAccess.cs.

524 {
525 if (handle.IsAsync)
526 {
527 return (handle.GetFileOptions() & (FileOptions)536870912) != 0;
528 }
529 return false;
530 }

References System.handle.

Referenced by System.IO.RandomAccess.ReadScatterAtOffsetAsync(), and System.IO.RandomAccess.WriteGatherAtOffsetAsync().