BlockAllocatedMemoryStream(Byte) Constructor
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public BlockAllocatedMemoryStream(
byte[] buffer
)
Public Sub New (
buffer As Byte()
)
public:
BlockAllocatedMemoryStream(
array<unsigned char>^ buffer
)
Gemstone.IO.BlockAllocatedMemoryStream = function(buffer);
Parameters
- buffer Byte
- Initial buffer to copy into stream.
Unlike
MemoryStream, the
BlockAllocatedMemoryStream will not use the provided
buffer as its backing buffer. The buffer will be copied into internally managed reusable
memory buffers. Subsequently, the notion of a non-expandable stream is not supported.
ArgumentNullException | buffer is null. |