C# Class Ev3devMapping.ControlHeader

Show file Open project: bmegli/ev3dev-mapping-ui

Public Properties

Property Type Description
command ControlCommands
payload_length ushort
protocol_version byte
timestamp_us ulong

Public Methods

Method Description
FromBinary ( BinaryReader reader ) : void
ToBinary ( BinaryWriter writer ) : int

Method Details

FromBinary() public method

public FromBinary ( BinaryReader reader ) : void
reader BinaryReader
return void

ToBinary() public method

public ToBinary ( BinaryWriter writer ) : int
writer BinaryWriter
return int

Property Details

command public property

public ControlCommands command
return ControlCommands

payload_length public property

public ushort payload_length
return ushort

protocol_version public property

public byte protocol_version
return byte

timestamp_us public property

public ulong timestamp_us
return ulong