C# 클래스 MaCRo.Communications.SerialHeader

파일 보기 프로젝트 열기: AlexAlbala/MaCRo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CRC uint
length ushort
magic byte
size ushort

공개 메소드들

메소드 설명
GetBytes ( ) : byte[]
Populate ( byte buffer, int offset ) : bool

Retrieves header data and sets buffer CRC positions to zero

SerialHeader ( ) : System

메소드 상세

GetBytes() 공개 메소드

public GetBytes ( ) : byte[]
리턴 byte[]

Populate() 공개 메소드

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

SerialHeader() 공개 메소드

public SerialHeader ( ) : System
리턴 System

프로퍼티 상세

CRC 공개적으로 프로퍼티

public uint CRC
리턴 uint

length 공개적으로 프로퍼티

public ushort length
리턴 ushort

magic 공개적으로 프로퍼티

public byte magic
리턴 byte

size 공개적으로 프로퍼티

public ushort size
리턴 ushort