| BeginRead | Begins an asynchronous read operation. (Consider using ReadAsync(Byte, Int32, Int32) instead.) (继承自 Stream。) |
| BeginWrite | Begins an asynchronous write operation. (Consider using WriteAsync(Byte, Int32, Int32) instead.) (继承自 Stream。) |
| Close |
没有关闭效果
(重写 StreamClose) |
| CopyTo(Stream) | Reads the bytes from the current stream and writes them to another stream. (继承自 Stream。) |
| CopyTo(Stream, Int32) | Reads the bytes from the current stream and writes them to another stream, using a specified buffer size. (继承自 Stream。) |
| CopyToAsync(Stream) | Asynchronously reads the bytes from the current stream and writes them to another stream. (继承自 Stream。) |
| CopyToAsync(Stream, Int32) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. (继承自 Stream。) |
| CopyToAsync(Stream, CancellationToken) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified cancellation token. (继承自 Stream。) |
| CopyToAsync(Stream, Int32, CancellationToken) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. (继承自 Stream。) |
| CreateWaitHandle | Allocates a WaitHandle object. (继承自 Stream。) |
| Dispose | Releases all resources used by the Stream. (继承自 Stream。) |
| Dispose(Boolean) |
没有释放效果
(重写 StreamDispose(Boolean)) |
| DisposeAsync | Asynchronously releases the unmanaged resources used by the Stream. (继承自 Stream。) |
| EndRead | Waits for the pending asynchronous read to complete. (Consider using ReadAsync(Byte, Int32, Int32) instead.) (继承自 Stream。) |
| EndWrite | Ends an asynchronous write operation. (Consider using WriteAsync(Byte, Int32, Int32) instead.) (继承自 Stream。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| Flush | When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. (重写 StreamFlush) |
| FlushAsync | Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (继承自 Stream。) |
| FlushAsync(CancellationToken) | Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. (继承自 Stream。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (继承自 MarshalByRefObject。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (继承自 MarshalByRefObject。) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (继承自 MarshalByRefObject。) |
| ObjectInvariant | Provides support for a Contract. (继承自 Stream。) |
| Read(SpanByte) | When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (继承自 Stream。) |
| Read(Byte, Int32, Int32) | When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (重写 StreamRead(Byte, Int32, Int32)) |
| ReadAsync(MemoryByte, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. (继承自 Stream。) |
| ReadAsync(Byte, Int32, Int32) | Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (继承自 Stream。) |
| ReadAsync(Byte, Int32, Int32, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. (继承自 Stream。) |
| ReadByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (继承自 Stream。) |
| Seek | When overridden in a derived class, sets the position within the current stream. (重写 StreamSeek(Int64, SeekOrigin)) |
| SetLength | When overridden in a derived class, sets the length of the current stream. (重写 StreamSetLength(Int64)) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Write(ReadOnlySpanByte) | When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (继承自 Stream。) |
| Write(Byte, Int32, Int32) | When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (重写 StreamWrite(Byte, Int32, Int32)) |
| WriteAsync(ReadOnlyMemoryByte, CancellationToken) | Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. (继承自 Stream。) |
| WriteAsync(Byte, Int32, Int32) | Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (继承自 Stream。) |
| WriteAsync(Byte, Int32, Int32, CancellationToken) | Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. (继承自 Stream。) |
| WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (继承自 Stream。) |
| ReadAllToByteArray |
读取流中的所有字节并返回字节数组。
(由 SystemExtension 定义。) |
| ReadAllToByteArrayAsync |
异步读取流中的所有字节。
(由 SystemExtension 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |