|
BlockAllocatedMemoryStream(Byte) Constructor
|
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax public BlockAllocatedMemoryStream(
byte[] buffer
)
Public Sub New (
buffer As Byte()
)
public:
BlockAllocatedMemoryStream(
array<unsigned char>^ buffer
)
new :
buffer : byte[] -> BlockAllocatedMemoryStream
GSF.IO.BlockAllocatedMemoryStream = function(buffer);
View SourceParameters
- buffer Byte
- Initial buffer to copy into stream.
Exceptions Remarks
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.
See Also