Method MemoryStream.this
Creates a new stream with the given data
array as its contents.
Prototype
MemoryStream this( ubyte[] data, bool writable, size_t initial_size );
Parameters
Name | Description |
---|---|
data | The data array |
writable | Flag that controls whether the data array may be changed |
initial_size | The initial value that size returns - the file can grow up to data.length in size |
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.