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

Inheritance: StreamObjectHeaderStart
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
SerializeToByteList ( ) : List

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

StreamObjectHeaderStart16bit ( ) : System

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

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type.

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type and length.

ToUint16 ( ) : ushort

This method is used to get the Uint16 value of the 16bit stream object header.

Protected Methods

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

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

Method Details

DoDeserializeFromByteArray() protected method

This method is used to deserialize the StreamObjectHeaderStart16bit 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 StreamObjectHeaderStart16bit basic object into a byte List.
public SerializeToByteList ( ) : List
return List

StreamObjectHeaderStart16bit() public method

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

StreamObjectHeaderStart16bit() public method

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
return System

StreamObjectHeaderStart16bit() public method

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type and length.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
length int Specify the length of the StreamObjectHeaderStart16bit.
return System

ToUint16() public method

This method is used to get the Uint16 value of the 16bit stream object header.
public ToUint16 ( ) : ushort
return ushort