BuildMaster SDK Reference
Version:

SlimMemoryStream(byte[] initialData, bool writable) Constructor

Initializes a new instance of the SlimMemoryStream class.

Syntax

public .ctor(byte[] initialData, bool writable)

Parameters

initialData
Type: byte[]

The initial data used to populate the stream.

writable
Type: bool

Value indicating whether the stream should be writable.

Remarks

If writable is true, a copy of initialData is made; otherwise, the SlimMemoryStream will reference initialData directly.