Mono Class Library: OverviewSystem.IO.MemoryStream: Method Members |
The methods of System.IO.MemoryStream are listed below. For a list of all members, see the MemoryStream Members list.
See Also: Inherited members from System.IO.Stream
overrideClose() Closes the current System.IO.MemoryStream instance. overrideFlush() Overrides Stream.Flush so that no action is performed.GetBuffer() : byte[] Returns the array of unsigned bytes from which this stream was created. overrideRead(byte[], int, int) : int Reads a block of bytes from the current stream at the current position, and writes the data to the specified byte array. overrideReadByte() : int Reads a byte from the current stream at the current position. overrideSeek(long, SeekOrigin) : long Changes the position within the current stream by the given offset, which is relative to the stated origin. overrideSetLength(long) Sets the length of the current stream to the specified value.ToArray() : byte[] Writes the entire stream contents to a byte array, regardless of the current position within the stream. overrideWrite(byte[], int, int) Writes a block of bytes to the current stream at the current position using data read from buffer. overrideWriteByte(byte) Writes a byte to the current stream at the current position.WriteTo(Stream) Writes the entire contents of the current System.IO.MemoryStream instance to a specified stream.