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

An 8-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 StreamObjectHeaderEnd8bit basic object into a byte List.

StreamObjectHeaderEnd8bit ( ) : System

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

StreamObjectHeaderEnd8bit ( StreamObjectTypeHeaderEnd type ) : System

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

StreamObjectHeaderEnd8bit ( int type ) : System

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

ToByte ( ) : byte

This method is used to get the byte value of the 8bit 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 StreamObjectHeaderEnd8bit basic object from the specified byte array and start index.

Method Details

DoDeserializeFromByteArray() protected méthode

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

StreamObjectHeaderEnd8bit() public méthode

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

StreamObjectHeaderEnd8bit() public méthode

Initializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.
public StreamObjectHeaderEnd8bit ( StreamObjectTypeHeaderEnd type ) : System
type StreamObjectTypeHeaderEnd Specify the value of the type.
Résultat System

StreamObjectHeaderEnd8bit() public méthode

Initializes a new instance of the StreamObjectHeaderEnd8bit class with the specified type value.
public StreamObjectHeaderEnd8bit ( int type ) : System
type int Specify the integer value of the type.
Résultat System

ToByte() public méthode

This method is used to get the byte value of the 8bit stream object header End.
public ToByte ( ) : byte
Résultat byte