} // Read() /// <summary> /// Reads (asynchronously) from the current serial connection. /// </summary> /// <param name="buffer">An array of type Byte that is the storage location for the received data.</param> /// <param name="offset">The zero-based position in the buffer parameter at which to store the received data.</param> /// <param name="len">The number of bytes to receive.</param> /// <param name="userCallback">Callback method to notify application</param> public void Read(ref byte[] buffer, int offset, int len, LowLevelAsyncReadCallback userCallback) { // asynchronous mode currently not supported, use default this.port.Read(buffer, offset, len); } // Read()
/// <summary> /// Reads (asynchronously) from the current connection. /// </summary> /// <param name="buffer">An array of type Byte that is the storage /// location for the received data.</param> /// <param name="offset">The zero-based position in the buffer parameter /// at which to store the received data.</param> /// <param name="len">The number of bytes to receive.</param> /// <param name="userCallback">Callback method to notify application</param> public void Read(ref byte[] buffer, int offset, int len, LowLevelAsyncReadCallback userCallback) { throw new NotImplementedException(); }