C# Class PRI.ProductivityExtensions.SerialPortExtensions.SerialPortable

Class that contains extension methods that extend SerialPort
Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
Read ( this serialport, Byte buffer ) : Int32

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. serialport.Read(buffer);

Read ( this serialport, Char buffer ) : Int32

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. serialport.Read(buffer);

Write ( this serialport, Byte buffer ) : void

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. serialport.Write(buffer);

Write ( this serialport, Char buffer ) : void

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. serialport.Write(buffer);

Method Details

Read() public static méthode

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. serialport.Read(buffer);
public static Read ( this serialport, Byte buffer ) : Int32
serialport this
buffer Byte
Résultat System.Int32

Read() public static méthode

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. serialport.Read(buffer);
public static Read ( this serialport, Char buffer ) : Int32
serialport this
buffer Char
Résultat System.Int32

Write() public static méthode

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. serialport.Write(buffer);
public static Write ( this serialport, Byte buffer ) : void
serialport this
buffer Byte
Résultat void

Write() public static méthode

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. serialport.Write(buffer);
public static Write ( this serialport, Char buffer ) : void
serialport this
buffer Char
Résultat void