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

This class specifies the base class for 16-bit or 32-bit stream object header start.
Inheritance: BasicObject
Datei anzeigen Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
TryParse ( byte byteArray, int startIndex, StreamObjectHeaderStart &streamObjectHeader ) : int

This method is used to parse the actual 16bit or 32bit stream header.

Protected Methods

Method Description
StreamObjectHeaderStart ( ) : System

Initializes a new instance of the StreamObjectHeaderStart class.

StreamObjectHeaderStart ( StreamObjectTypeHeaderStart streamObjectTypeHeaderStart ) : System

Initializes a new instance of the StreamObjectHeaderStart class with specified header type.

Method Details

StreamObjectHeaderStart() protected method

Initializes a new instance of the StreamObjectHeaderStart class.
protected StreamObjectHeaderStart ( ) : System
return System

StreamObjectHeaderStart() protected method

Initializes a new instance of the StreamObjectHeaderStart class with specified header type.
protected StreamObjectHeaderStart ( StreamObjectTypeHeaderStart streamObjectTypeHeaderStart ) : System
streamObjectTypeHeaderStart StreamObjectTypeHeaderStart Specify the value of the StreamObjectHeaderStart Type.
return System

TryParse() public static method

This method is used to parse the actual 16bit or 32bit stream header.
public static TryParse ( byte byteArray, int startIndex, StreamObjectHeaderStart &streamObjectHeader ) : int
byteArray byte Specify the Byte array.
startIndex int Specify the start position.
streamObjectHeader StreamObjectHeaderStart Specify the out value for the parse result.
return int