[This is preliminary documentation and is subject to change.]

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:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.6.0.0 (0.6.0.0)

Syntax

C#
public long Capacity { get; set; }
Visual Basic (Declaration)
Public Property Capacity As Long
Visual C++
public:
property long long Capacity {
	long long get ();
	void set (long long value);
}

See Also