vibe.d beta banner
get vibe.d
0.7.30

Function MemoryStream.this

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

Prototype

this(
  ubyte[] data,
  bool writable = true,
  ulong initial_size = 18446744073709551615LU
);

Parameters

NameDescription
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
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License