#2 Better handling of multbyte write()

closed-accepted
nobody
None
5
2004-08-11
2004-07-19
No

The old implementation of
de.avetana.bluetooth.connection.BluetoothStream.MOutputStream.write(byte
[]) results in a byte-by-byte write to the bluetooth
device, incurring a round-trip delay penalty between
each byte. This is due to the behavior described in:

http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#write\(byte[],%20int,%20int)

The attached patch does as this link suggests, and
provides a more efficient writing of multibyte arrays.
Also included are changes to other files to allow the
rest of avetana to build correctly.

Discussion

  • Anonymous - 2004-07-19
     
  • Moritz Gmelin

    Moritz Gmelin - 2004-08-11
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks