Method MemoryStream.this

Creates a new stream with the given data array as its contents.

Prototypes

MemoryStream this(
  ubyte[] data,
  bool writable
);

Parameters

Parameter nameDescription
data The data array
writable Flag that controls whether the data array may be changed

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.