CborWriter.WriteInt32(Int32) Method

Definition

Writes a value as a signed integer encoding (major types 0,1)

public:
 void WriteInt32(int value);
public void WriteInt32 (int value);
member this.WriteInt32 : int -> unit
Public Sub WriteInt32 (value As Integer)

Parameters

value
Int32

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