CyrusBuilt.MonoPi.IO.Serial.Rs232SerialPort.GetBytesAvailable C# (CSharp) Method

GetBytesAvailable() public method

Gets the bytes available to be read.
/// This instance has been disposed and is no longer usable. ///
public GetBytesAvailable ( ) : Int32
return System.Int32
		public Int32 GetBytesAvailable() {
			if (this._isDisposed) {
				throw new ObjectDisposedException("Rs232SerialPort");
			}
			
			if (!this.IsOpen) {
				return 0;
			}
			return UnsafeNativeMethods.serialDataAvail(this._id);
		}