Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero.
MemoryStream(Byte[], Boolean)Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array with the CanWrite property set as specified.
MemoryStream(Byte[], Int32, Int32, Boolean, Boolean)Initializes a new instance of the MemoryStream class based on the specified region of a byte array, with the CanWrite property set as specified, and the ability to call GetBuffer() set as specified.
MemoryStream(Byte[], Int32, Int32, Boolean)Initializes a new non-resizable instance of the MemoryStream class based on the specified region of a byte array, with the CanWrite property set as specified.
MemoryStream(Byte[], Int32, Int32)Initializes a new non-resizable instance of the MemoryStream class based on the specified region (index) of a byte array.
MemoryStream(Byte[])Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array.
MemoryStream(Int32)Initializes a new instance of the MemoryStream class with an expandable capacity initialized as specified.
CanReadGets a value indicating whether the current stream supports reading.
CanSeekGets a value indicating whether the current stream supports seeking.
CanTimeoutGets a value that determines whether the current stream can time out.
(Inherited from Stream) CanWriteGets a value indicating whether the current stream supports writing.
CapacityGets or sets the number of bytes allocated for this stream.
LengthGets the length of the stream in bytes.
PositionGets or sets the current position within the stream.
ReadTimeoutGets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream) WriteTimeoutGets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream) BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)Begins an asynchronous read operation. (Consider using ReadAsync(Byte[], Int32, Int32, CancellationToken) instead.)
BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)Begins an asynchronous read operation. (Consider using ReadAsync(Byte[], Int32, Int32) instead.)
(Inherited from Stream) BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)Begins an asynchronous write operation. (Consider using WriteAsync(Byte[], Int32, Int32, CancellationToken) instead.)
BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)Begins an asynchronous write operation. (Consider using WriteAsync(Byte[], Int32, Int32) instead.)
(Inherited from Stream) Close()Closes the stream for reading and writing.
Close()Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.
(Inherited from Stream) CopyTo(Stream, Int32)Reads the bytes from the current memory stream and writes them to another stream, using a specified buffer size.
CopyTo(Stream, Int32)Reads the bytes from the current stream and writes them to another stream, using a specified buffer size. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CopyTo(Stream)Reads the bytes from the current stream and writes them to another stream. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CopyToAsync(Stream, CancellationToken)Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified cancellation token. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CopyToAsync(Stream, Int32, CancellationToken)Asynchronously reads all the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.
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. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CopyToAsync(Stream, Int32)Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CopyToAsync(Stream)Asynchronously reads the bytes from the current stream and writes them to another stream. Both streams positions are advanced by the number of bytes copied.
(Inherited from Stream) CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject) CreateWaitHandle()Obsolete.
Obsolete.
Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream) Dispose()Releases all resources used by the Stream.
(Inherited from Stream) Dispose(Boolean)Releases the unmanaged resources used by the MemoryStream class and optionally releases the managed resources.
DisposeAsync()Asynchronously releases the unmanaged resources used by the Stream.
(Inherited from Stream) EndRead(IAsyncResult)Waits for the pending asynchronous read to complete. (Consider using ReadAsync(Byte[], Int32, Int32, CancellationToken) instead.)
EndRead(IAsyncResult)Waits for the pending asynchronous read to complete. (Consider using ReadAsync(Byte[], Int32, Int32) instead.)
(Inherited from Stream) EndWrite(IAsyncResult)Ends an asynchronous write operation. (Consider using WriteAsync(Byte[], Int32, Int32, CancellationToken) instead.)
EndWrite(IAsyncResult)Ends an asynchronous write operation. (Consider using WriteAsync(Byte[], Int32, Int32) instead.)
(Inherited from Stream) Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object) Flush()Overrides the Flush() method so that no action is performed.
FlushAsync()Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Inherited from Stream) FlushAsync(CancellationToken)Asynchronously clears all buffers for this stream, and monitors cancellation requests.
GetBuffer()Returns the array of unsigned bytes from which this stream was created.
GetHashCode()Serves as the default hash function.
(Inherited from Object) GetLifetimeService()Obsolete.
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject) GetType()Gets the Type of the current instance.
(Inherited from Object) InitializeLifetimeService()Obsolete.
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject) MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object) MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject) ObjectInvariant()This API supports the product infrastructure and is not intended to be used directly from your code.
Provides support for a Contract.
ObjectInvariant()Obsolete.
Provides support for a Contract.
(Inherited from Stream) Read(Byte[], Int32, Int32)Reads a block of bytes from the current stream and writes the data to a buffer.
Read(Span<Byte>)Reads a sequence of bytes from the current memory stream and advances the position within the memory stream by the number of bytes read.
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.
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.
(Inherited from Stream) ReadAsync(Memory<Byte>, CancellationToken)Asynchronously reads a sequence of bytes from the current memory stream, writes the sequence into destination
, advances the position within the memory stream by the number of bytes read, and monitors cancellation requests.
Reads at least a minimum number of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Inherited from Stream) ReadAtLeastAsync(Memory<Byte>, Int32, Boolean, CancellationToken)Asynchronously reads at least a minimum number of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
(Inherited from Stream) ReadByte()Reads a byte from the current stream.
ReadExactly(Byte[], Int32, Int32)Reads count
number of bytes from the current stream and advances the position within the stream.
Reads bytes from the current stream and advances the position within the stream until the buffer
is filled.
Asynchronously reads count
number of bytes from the current stream, advances the position within the stream, and monitors cancellation requests.
Asynchronously reads bytes from the current stream, advances the position within the stream until the buffer
is filled, and monitors cancellation requests.
Sets the position within the current stream to the specified value.
SetLength(Int64)Sets the length of the current stream to the specified value.
ToArray()Writes the stream contents to a byte array, regardless of the Position property.
ToString()Returns a string that represents the current object.
(Inherited from Object) TryGetBuffer(ArraySegment<Byte>)Returns the array of unsigned bytes from which this stream was created. The return value indicates whether the conversion succeeded.
Write(Byte[], Int32, Int32)Writes a block of bytes to the current stream using data read from a buffer.
Write(ReadOnlySpan<Byte>)Writes the sequence of bytes contained in source
into the current memory stream and advances the current position within this memory stream by the number of bytes written.
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.
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.
(Inherited from Stream) WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)Asynchronously writes the sequence of bytes contained in source
into the current memory stream, advances the current position within this memory stream by the number of bytes written, and monitors cancellation requests.
Writes a byte to the current stream at the current position.
WriteTo(Stream)Writes the entire contents of this memory stream to another stream.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4