CborWriterOptions.InitialCapacity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the initial capacity, in bytes, of the buffer used when writing CBOR data.
public:
property int InitialCapacity { int get(); void set(int value); };
public int InitialCapacity { get; set; }
member this.InitialCapacity : int with get, set
Public Property InitialCapacity As Integer
Property Value
The initial capacity, in bytes, of the buffer used when writing CBOR data, or -1 to indicate a runtime-chosen initial capacity.
Exceptions
value is less than -1.