Skip Navigation Links.

UnmanagedMemoryStream..::..Capacity Property

The amount of space in the unmanaged memory buffer. This can be larger than the length of the stream. If you know how many bytes will be written to the stream, you might want to set the capacity (either via this property or through Reserve(Int64)) large enough to avoid resizing the stream multiple times.

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Property Capacity As Long
	Get
	Set
C#
public long Capacity { get; set; }
Visual C++
public:
property long long Capacity {
	long long get ();
	void set (long long value);
}
JavaScript
function get_capacity();
function set_capacity(value);

See Also