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
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method 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.

Protected Methods

Method 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 method

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.
return int

SerializeToByteList() public method

This method is used to convert the element of StreamObjectHeaderEnd8bit basic object into a byte List.
public SerializeToByteList ( ) : List
return List

StreamObjectHeaderEnd8bit() public method

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

StreamObjectHeaderEnd8bit() public method

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.
return System

StreamObjectHeaderEnd8bit() public method

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.
return System

ToByte() public method

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