implements IDisposable
0x00x0028
Members 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Null | Stream | PublicStatic+1 flags | — | |
| 0x08 | _activeReadWriteTask | ReadWriteTask | Private+1 flags | — | |
| 0x08 | _asyncActiveSemaphore | SemaphoreSlim | Private+1 flags | — |
Inherited from MarshalByRefObject 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | _identity | object | Private+1 flags | — |
Functions 59
| Signature | Flags | Native | Params |
|---|---|---|---|
| SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized() | 1 flags | 0x08 | |
| bool get_CanRead() | Public+4 flags | 0x01 | |
| bool get_CanSeek() | Public+4 flags | 0x01 | |
| bool get_CanTimeout() | Public+3 flags | 0x01 | |
| bool get_CanWrite() | Public+4 flags | 0x01 | |
| long get_Length() | Public+4 flags | 0x08 | |
| long get_Position() | Public+4 flags | 0x08 | |
| void set_Position(long value) | Public+4 flags | 0x08 | |
| int get_ReadTimeout() | Public+3 flags | 0x04 | |
| void set_ReadTimeout(int value) | Public+3 flags | 0x04 | |
| int get_WriteTimeout() | Public+3 flags | 0x04 | |
| void set_WriteTimeout(int value) | Public+3 flags | 0x04 | |
| Task CopyToAsync(Stream destination) | Public | 0x08 | |
| Task CopyToAsync(Stream destination, int bufferSize) | Public | 0x08 | |
| Task CopyToAsync(Stream destination, int bufferSize, const CancellationToken& cancellationToken) | Public+2 flags | 0x08 | |
| Task CopyToAsyncInternal(Stream destination, int bufferSize, const CancellationToken& cancellationToken) | Private | 0x08 | |
| void CopyTo(Stream destination) | Public | 0x08 | |
| void CopyTo(Stream destination, int bufferSize) | Public+2 flags | 0x08 | |
| int GetCopyBufferSize() | Private | 0x04 | |
| void Close() | Public+2 flags | 0x00 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void Dispose(bool disposing) | 3 flags | 0x01 | |
| void Flush() | Public+3 flags | 0x00 | |
| Task FlushAsync(const CancellationToken& cancellationToken) | Public+2 flags | 0x08 | |
| IAsyncResult BeginRead(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state) | Public+2 flags | 0x08 | |
| IAsyncResult BeginReadInternal(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm) | 1 flags | 0x08 | |
| int EndRead(IAsyncResult asyncResult) | Public+2 flags | 0x08 | |
| Task<System.Int32> ReadAsync(const byte[]& buffer, int offset, int count) | Public | 0x08 | |
| Task<System.Int32> ReadAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken) | Public+2 flags | 0x08 | |
| ValueTask<System.Int32> ReadAsync(const Memory<System.Byte>& buffer, const CancellationToken& cancellationToken) | Public+2 flags | 0x10 | |
| Task<System.Int32> BeginEndReadAsync(const byte[]& buffer, int offset, int count) | Private | 0x08 | |
| IAsyncResult BeginWrite(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state) | Public+2 flags | 0x08 | |
| IAsyncResult BeginWriteInternal(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm) | 1 flags | 0x08 | |
| void RunReadWriteTaskWhenReady(Task asyncWaiter, ReadWriteTask readWriteTask) | Private | 0x08 | |
| void RunReadWriteTask(ReadWriteTask readWriteTask) | Private | 0x08 | |
| void FinishTrackingAsyncOperation() | Private | 0x00 | |
| void EndWrite(IAsyncResult asyncResult) | Public+2 flags | 0x08 | |
| Task WriteAsync(const byte[]& buffer, int offset, int count) | Public | 0x08 | |
| Task WriteAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken) | Public+2 flags | 0x08 | |
| ValueTask WriteAsync(const ReadOnlyMemory<System.Byte>& buffer, const CancellationToken& cancellationToken) | Public+2 flags | 0x10 | |
| Task FinishWriteAsync(Task writeTask, const byte[]& localBuffer) | Private | 0x08 | |
| Task BeginEndWriteAsync(const byte[]& buffer, int offset, int count) | Private | 0x08 | |
| long Seek(long offset, const SeekOrigin& origin) | Public+3 flags | — | 0x08 |
| void SetLength(long value) | Public+3 flags | 0x08 | |
| int Read(const byte[]& buffer, int offset, int count) | Public+3 flags | — | 0x08 |
| int Read(const Span<System.Byte>& buffer) | Public+2 flags | 0x10 | |
| int ReadByte() | Public+2 flags | 0x04 | |
| void Write(const byte[]& buffer, int offset, int count) | Public+3 flags | — | 0x08 |
| void Write(const ReadOnlySpan<System.Byte>& buffer) | Public+2 flags | 0x10 | |
| void WriteByte(byte value) | Public+2 flags | 0x01 | |
| IAsyncResult BlockingBeginRead(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state) | 1 flags | 0x08 | |
| int BlockingEndRead(IAsyncResult asyncResult) | Static+1 flags | 0x08 | |
| IAsyncResult BlockingBeginWrite(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state) | 1 flags | 0x08 | |
| void BlockingEndWrite(IAsyncResult asyncResult) | Static+1 flags | 0x08 | |
| bool HasOverriddenBeginEndRead() | Private | 0x01 | |
| bool HasOverriddenBeginEndWrite() | Private | 0x01 | |
| void .ctor() | 2 flags | 0x00 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| ValueTask<System.Int32> <ReadAsync>g__FinishReadAsync|44_0(Task<System.Int32> readTask, const byte[]& localBuffer, const Memory<System.Byte>& localDestination) | Static+1 flags | 0x10 |
Subclasses 37
AuthenticatedStreamBZip2InputStreamBZip2OutputStreamCheckSumAndSizeWriteStreamCountingStreamCrcCalculatorStreamCryptoStreamDeflateManagedStreamDeflateStreamDeflateStreamDirectToArchiveWriterStreamFileStreamFtpDataStreamGZipStreamGZipStreamMemoryStreamNetworkStreamNetworkStreamWrapperNullStreamOffsetStreamParallelBZip2OutputStreamParallelDeflateOutputStreamPositionPreservingWriteOnlyStreamWrapperSqlXmlStreamWrapperSubReadStreamTailStreamUnmanagedMemoryStreamWebConnectionStreamWebReadStreamWrappedStreamXmlRegisteredNonCachedStreamZipCipherStreamZipInputStreamZipOutputStreamZipSegmentedStreamZlibBaseStreamZlibStream
Used by 172
types with a member, parameter or interface of this type<>c<>c<>c__DisplayClass4_0<CopyToAsyncInternal>d__28<FlushAsyncInternal>d__74<Initialize>d__42<ReadAsyncInternal>d__66<ReadBufferAsync>d__69<ReadHeaders>d__43<SendAsync>d__99__BinaryParser__BinaryWriterAction`6AssemblyAsyncStreamReaderAsyncTaskMethodBuilder`1AuthenticatedStreamAuthenticodeBaseBinaryFormatterBinaryReaderBinaryWriterBitmapBitWriterBsonReaderBsonWriterBufferedReadStreamByteArrayContentBZip2InputStreamBZip2OutputStreamCheckSumAndSizeWriteStreamCloseDelegateComIStreamWrapperCommandStreamConfiguredTaskAwaiterConsoleContentDecodeStreamCountingStreamCRC32CrcCalculatorStreamCryptoStreamCStreamReaderCStreamWriterCursorDataTextWriterDeflateManagedStreamDeflateStreamDeflateStreamDeflateStreamNativeDiskCacheFileSystemCallsFileWebRequestFileWebResponseFixedSizeReadStreamFtpControlStreamFtpWebRequestFtpWebResponseFunc`1Func`2Func`2Func`3Func`3Func`4Func`5GdiPlusStreamHelperGZipStreamGZipStreamHtmlEncodedRawTextWriterHtmlEncodedRawTextWriterIndentHtmlUtf8RawTextWriterHtmlUtf8RawTextWriterIndentHttpContentHttpEncoderHttpWebRequestHttpWebResponseIconIDiskCacheIFileSystemCallsImageInputEventTraceLaterInitParam+92 more