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
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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.
Résultat int

SerializeToByteList() public méthode

This method is used to convert the element of StreamObjectHeaderEnd16bit basic object into a byte List.
public SerializeToByteList ( ) : List
Résultat List

StreamObjectHeaderEnd16bit() public méthode

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

StreamObjectHeaderEnd16bit() public méthode

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.
Résultat System

StreamObjectHeaderEnd16bit() public méthode

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.
Résultat System

ToUint16() public méthode

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