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

An 32-bit header for a compound object would indicate the start of a stream object
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 StreamObjectHeaderStart32bit basic object into a byte List.

StreamObjectHeaderStart32bit ( ) : System

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

StreamObjectHeaderStart32bit ( StreamObjectTypeHeaderStart streamObjectTypeHeaderStart ) : System

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

StreamObjectHeaderStart32bit ( StreamObjectTypeHeaderStart type, int length ) : System

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

Protected Methods

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

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

Method Details

DoDeserializeFromByteArray() protected method

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

StreamObjectHeaderStart32bit() public method

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

StreamObjectHeaderStart32bit() public method

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

StreamObjectHeaderStart32bit() public method

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