BufferMode
The method a specified byte array should be referenced.
Public Enum BufferMode
Values
- ShareMode
- The MemoryStream points to the original array. This prevents a copy of the
array from occurring. Thid mode requires the specified array to out-live the MemoryStream object instance.
- CopyMode
- A new array will be allocated with the contents of the specified array leaving the original array intact.
- AcquireMode
- An internal array will point to the original array and set the original array variable to null. This effectively steals the specified array.
See Also
Project CorLib Overview
Class MemoryStream Overview