C# Class MaCRo.Communications.SerialHeader

Afficher le fichier Open project: AlexAlbala/MaCRo Class Usage Examples

Méthodes publiques

Свойство Type Description
CRC uint
length ushort
magic byte
size ushort

Méthodes publiques

Méthode Description
GetBytes ( ) : byte[]
Populate ( byte buffer, int offset ) : bool

Retrieves header data and sets buffer CRC positions to zero

SerialHeader ( ) : System

Method Details

GetBytes() public méthode

public GetBytes ( ) : byte[]
Résultat byte[]

Populate() public méthode

Retrieves header data and sets buffer CRC positions to zero
public Populate ( byte buffer, int offset ) : bool
buffer byte
offset int
Résultat bool

SerialHeader() public méthode

public SerialHeader ( ) : System
Résultat System

Property Details

CRC public_oe property

public uint CRC
Résultat uint

length public_oe property

public ushort length
Résultat ushort

magic public_oe property

public byte magic
Résultat byte

size public_oe property

public ushort size
Résultat ushort