C# Class Microsoft.Protocols.TestSuites.SharedAdapter.Compact64bitInt

A 9-byte encoding of values in the range 0x0002000000000000 through 0xFFFFFFFFFFFFFFFF
Inheritance: BasicObject
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

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

Method Details

Compact64bitInt() public method

Initializes a new instance of the Compact64bitInt class, this is the default constructor.
public Compact64bitInt ( ) : System
return System

Compact64bitInt() public method

Initializes a new instance of the Compact64bitInt class with specified value.
public Compact64bitInt ( ulong decodedValue ) : System
decodedValue ulong Decoded value
return System

DoDeserializeFromByteArray() protected method

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.
return int

SerializeToByteList() public method

This method is used to convert the element of Compact64bitInt basic object into a byte List.
public SerializeToByteList ( ) : List
return List