Share via


CborWriter.WriteInt64(Int64) Method

Definition

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

public:
 void WriteInt64(long value);
public void WriteInt64 (long value);
member this.WriteInt64 : int64 -> unit
Public Sub WriteInt64 (value As Long)

Parameters

value
Int64

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