C# Class hobd.SerialStream

Inheritance: IStream
Exibir arquivo Open project: cail/hobd Class Usage Examples

Public Methods

Method Description
Close ( ) : void
HasData ( ) : bool
Open ( String url ) : void
ParseUrl ( string url ) : string[]
Read ( ) : byte[]
SerialStream ( ) : System
Write ( byte array, int offset, int length ) : void

Private Methods

Method Description
DataReceviedHandler ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

HasData() public method

public HasData ( ) : bool
return bool

Open() public method

public Open ( String url ) : void
url String
return void

ParseUrl() public static method

public static ParseUrl ( string url ) : string[]
url string
return string[]

Read() public method

public Read ( ) : byte[]
return byte[]

SerialStream() public method

public SerialStream ( ) : System
return System

Write() public method

public Write ( byte array, int offset, int length ) : void
array byte
offset int
length int
return void