hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports
http://rubygems.org/gems/serialport
GNU General Public License v2.0
246 stars 58 forks source link

Are there any possibilities to buffer writes before flushing them directly to port? #49

Open zekefast opened 10 years ago

zekefast commented 10 years ago

In my case other libraries I used writes data in chunks, but hardware expects whole solid binary data stream. So, I need to buffer writes to library before actually doing write to port.

Any suggestions would greatly appreciated! Thank you in advance!