The following tables list the members exposed by MemoryStream.

      Public Constructors

      NameDescription
      Public ConstructorsMemoryStream ConstructorOverloaded. Initializes a new instance of the System.IO.MemoryStream class with an expandable capacity initialized to zero.
      Top

      Public Properties

      NameDescription
      Public PropertiesCanReadOverridden. Gets a value indicating whether the current stream supports reading.
      Public PropertiesCanSeekOverridden. Gets a value indicating whether the current stream supports seeking.
      Public PropertiesCanWriteOverridden. Gets a value indicating whether the current stream supports writing.
      Public PropertiesLengthOverridden. Gets the length of the stream in bytes.
      Public PropertiesPositionOverridden. Gets or sets the current position within the stream.
      Top

      Public Methods

      NameDescription
      Public MethodsFlushOverridden. Overrides System.IO.Stream.Flush() so that no action is performed.
      Public MethodsGetBufferReturns the array of unsigned bytes from which this stream was created.
      Public MethodsReadOverridden. Reads a block of bytes from the current stream and writes the data to buffer.
      Public MethodsSeekOverridden. Sets the position within the current stream to the specified value.
      Public MethodsSetLengthOverridden. Sets the length of the current stream to the specified value.
      Public MethodsToArrayWrites the stream contents to a byte array, regardless of the Position property.
      Public MethodsWriteOverridden. Writes a block of bytes to the current stream using data read from buffer.
      Top

      See Also