Table of Contents

Method GetBuffer

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

GetBuffer()

Returns the array of unsigned bytes from which this stream was created.

public override byte[] GetBuffer()

Returns

byte[]

The byte array from which this stream was created, or the underlying array if a byte array was not provided to the MemoryStream constructor during construction of the current instance.

Exceptions

UnauthorizedAccessException

The MemoryStream instance was not created with a publicly visible buffer.