[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Inherit=Stream Info=Implements methods of the MemoryStream. [Property] MemoryStream=Sets a MemoryStream object that implements methods. ARG(MemoryStream)|20|(empty)|MemoryStream Offset=Sets the byte offset data at which to operate. ARG(int)|1|0 Count=Sets the length of the stream in bytes to operate. ARG(int)|1|0 Origin=Sets the beginning, the end, or the current position as a reference point for seeking. ARG(SeekOrigin)|14|0|Begin,Current,End [Methods] *doFlush=Clears all buffers for this stream and causes any buffered data to be written to the underlying device. ARG()|1|0 doRead=Reads a block of bytes from the current stream and writes the data to a buffer. ARG(byte[] buffer, int offset, int count)|1|0 *doSeek=Sets the position within the current stream to the specified value. ARG(long pos, SeekOrigin origin)|1|0 *doSetLength=Sets the length of the current stream to the specified value. ARG(long)|1|0 doWrite=Writes a block of bytes to the current stream using data read from a buffer. ARG(byte[] buffer, int offset, int count)|1|0 *doWriteByte=Writes a byte to the current stream at the current position. ARG(byte value)|1|0 *doWriteTo=Writes the entire contents of this memory stream to another stream. ARG(Stream stream)|1|0 onRead=Occurs after invoke the method doRead and returns the total number of bytes written into the buffer. ARG(int)|2|1 onError=If an error occurs, an error message appears. ARG(string)|2|2 *onSeek=Occurs after invoke the method doSeek and returns the new position within the stream, calculated by combining the initial reference point and the offset ARG(long)|2|105 MemoryStream=Defines a MemoryStream object that implements methods. ARG(MemoryStream)|4|10 *pos=Defines the new position within the stream. This is relative to the origin parameter, and can be positive or negative. ARG(long)|4|105 *stream=The stream to write this memory stream to. ARG(Stream)|4|10 *value=Defines the byte to write to the stream. ARG(byte)|4|1