BlockAllocatedMemoryStreamToArray Method
Writes the stream contents to a byte array, regardless of the
Position property.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
Public Function ToArray As Byte()
Return Value
ByteA
Byte[] containing the current data in the stream
This may fail if there is not enough contiguous memory available to hold current size of stream.
When possible use methods which operate on streams directly instead.