|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| ValueTaskSourceStatus | GetStatus (short token) |
| void | OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) |
| int | GetResult (short token) |
| void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
| void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
Package Functions | |
| OverlappedValueTaskSource (SafeFileHandle fileHandle) | |
| void | Dispose () |
| unsafe NativeOverlapped * | PrepareForOperation (ReadOnlyMemory< byte > memory, long fileOffset, OSFileStreamStrategy strategy=null) |
| unsafe void | RegisterForCancellation (CancellationToken cancellationToken) |
| void | FinishedScheduling () |
| void | Complete (uint errorCode, uint numBytes) |
Static Package Functions | |
| static Exception | GetIOError (int errorCode, string path) |
Package Attributes | |
| readonly PreAllocatedOverlapped | _preallocatedOverlapped |
| readonly SafeFileHandle | _fileHandle |
| MemoryHandle | _memoryHandle |
| ManualResetValueTaskSourceCore< int > | _source |
| ulong | _result |
Static Package Attributes | |
| static unsafe readonly IOCompletionCallback | s_ioCallback = IOCallback |
Properties | |
| short | Version [get] |
Private Member Functions | |
| void IValueTaskSource. | GetResult (short token) |
| unsafe void | ReleaseResources () |
Static Private Member Functions | |
| static unsafe void | IOCallback (uint errorCode, uint numBytes, NativeOverlapped *pOverlapped) |
Private Attributes | |
| OSFileStreamStrategy | _strategy |
| int | _bufferSize |
| unsafe NativeOverlapped * | _overlapped |
| CancellationTokenRegistration | _cancellationRegistration |
Definition at line 214 of file SafeFileHandle.cs.