C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.Compact64bitInt

A 9-byte encoding of values in the range 0x0002000000000000 through 0xFFFFFFFFFFFFFFFF
Наследование: BasicObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Compact64bitInt ( ) : System

Initializes a new instance of the Compact64bitInt class, this is the default constructor.

Compact64bitInt ( ulong decodedValue ) : System

Initializes a new instance of the Compact64bitInt class with specified value.

SerializeToByteList ( ) : List

This method is used to convert the element of Compact64bitInt basic object into a byte List.

Защищенные методы

Метод Описание
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

This method is used to deserialize the Compact64bitInt basic object from the specified byte array and start index.

Описание методов

Compact64bitInt() публичный Метод

Initializes a new instance of the Compact64bitInt class, this is the default constructor.
public Compact64bitInt ( ) : System
Результат System

Compact64bitInt() публичный Метод

Initializes a new instance of the Compact64bitInt class with specified value.
public Compact64bitInt ( ulong decodedValue ) : System
decodedValue ulong Decoded value
Результат System

DoDeserializeFromByteArray() защищенный Метод

This method is used to deserialize the Compact64bitInt basic object from the specified byte array and start index.
protected DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int
byteArray byte Specify the byte array.
startIndex int Specify the start index from the byte array.
Результат int

SerializeToByteList() публичный Метод

This method is used to convert the element of Compact64bitInt basic object into a byte List.
public SerializeToByteList ( ) : List
Результат List