Compartir vía


CborWriter.WriteDecimal(Decimal) Method

Definition

Writes the provided value value as a tagged decimal fraction encoding, as described in RFC7049 section 2.4.3

public:
 void WriteDecimal(System::Decimal value);
public void WriteDecimal (decimal value);
member this.WriteDecimal : decimal -> unit
Public Sub WriteDecimal (value As Decimal)

Parameters

value
Decimal

The value to write.

Exceptions

Writing a new value exceeds the definite length of the parent data item.

-or-

The major type of the encoded value is not permitted in the parent data item.

-or-

The written data is not accepted under the current conformance mode.

Applies to