lib/rubyserial/windows.rb in rubyserial-0.2.3 vs lib/rubyserial/windows.rb in rubyserial-0.2.4

- old
+ new

@@ -59,10 +59,10 @@ end if count.read_int == 0 nil else - buff.read_string.unpack('C').first + buff.get_bytes(0, 1).bytes.first end end def write(data) buff = FFI::MemoryPointer.from_string(data.to_s)