C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.StreamObjectHeaderStart16bit

Наследование: StreamObjectHeaderStart
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SerializeToByteList ( ) : List

This method is used to convert the element of StreamObjectHeaderStart16bit basic object into a byte List.

StreamObjectHeaderStart16bit ( ) : System

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

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System

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

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System

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

ToUint16 ( ) : ushort

This method is used to get the Uint16 value of the 16bit stream object header.

Защищенные методы

Метод Описание
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

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

Описание методов

DoDeserializeFromByteArray() защищенный Метод

This method is used to deserialize the StreamObjectHeaderStart16bit 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.
Результат int

SerializeToByteList() публичный Метод

This method is used to convert the element of StreamObjectHeaderStart16bit basic object into a byte List.
public SerializeToByteList ( ) : List
Результат List

StreamObjectHeaderStart16bit() публичный Метод

Initializes a new instance of the StreamObjectHeaderStart16bit class, this is the default constructor.
public StreamObjectHeaderStart16bit ( ) : System
Результат System

StreamObjectHeaderStart16bit() публичный Метод

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
Результат System

StreamObjectHeaderStart16bit() публичный Метод

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type and length.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
length int Specify the length of the StreamObjectHeaderStart16bit.
Результат System

ToUint16() публичный Метод

This method is used to get the Uint16 value of the 16bit stream object header.
public ToUint16 ( ) : ushort
Результат ushort