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

An 16-bit header for a compound object would indicate the end of a stream object
Inheritance: StreamObjectHeaderEnd
Mostra file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
SerializeToByteList ( ) : List

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

StreamObjectHeaderEnd16bit ( ) : System

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

StreamObjectHeaderEnd16bit ( StreamObjectTypeHeaderEnd headerType ) : System

Initializes a new instance of the StreamObjectHeaderEnd16bit class with the specified type value.

StreamObjectHeaderEnd16bit ( int type ) : System

Initializes a new instance of the StreamObjectHeaderEnd16bit class with the specified type value.

ToUint16 ( ) : ushort

This method is used to get the byte value of the 16-bit stream object header End.

Protected Methods

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

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

Method Details

DoDeserializeFromByteArray() protected method

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

StreamObjectHeaderEnd16bit() public method

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

StreamObjectHeaderEnd16bit() public method

Initializes a new instance of the StreamObjectHeaderEnd16bit class with the specified type value.
public StreamObjectHeaderEnd16bit ( StreamObjectTypeHeaderEnd headerType ) : System
headerType StreamObjectTypeHeaderEnd Specify the value of the type.
return System

StreamObjectHeaderEnd16bit() public method

Initializes a new instance of the StreamObjectHeaderEnd16bit class with the specified type value.
public StreamObjectHeaderEnd16bit ( int type ) : System
type int Specify the integer value of the type.
return System

ToUint16() public method

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