104 struct MemoryStreamImpl;
105 MemoryStreamImpl* m_pImpl;
Provides methods for creating, manipulating, searching, and sorting arrays.
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
void SetLength(long value) override
Sets the length of the current stream to the specified value.
int Read(char *buffer, int offset, int count) override
Reads a block of bytes from the current stream and writes the data to a buffer.
long GetPosition() const override
Gets the current position within the stream.
bool CanSeek() const override
Gets a value indicating whether the current stream supports seeking.
void Flush() override
Overrides the Flush method so that no action is performed.
void Dispose() override
Releases the unmanaged resources used by the MemoryStream.
void SetPosition(long value) override
Sets the current position within the stream.
bool CanRead() const override
Gets a value indicating whether the current stream supports reading.
long Seek(long offset, int origin) override
Sets the position within the current stream to the specified value.
long GetLength() const override
Returns the length of the stream in bytes.
Array< char > ToArray() const
Writes the stream contents to a byte array, regardless of the Position property.
void Write(const char *buffer, int offset, int count) override
Writes a block of bytes to the current stream using data read from a buffer.
MemoryStream()
Initializes a new non-resizable instance of the MemoryStream class with an expandable capacity initia...
bool CanWrite() const override
Gets a value indicating whether the current stream supports writing.
Provides a generic view of a sequence of bytes.