felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.8k stars 587 forks source link

Reuse same instance of byte array when the destination array is empty #212

Closed Arneball closed 5 years ago

Arneball commented 5 years ago

Also using System.arrayCopy in loop instead of manual copying

felHR85 commented 5 years ago

@Arneball Thank you! Did you try with a FTDI device? I will do it anyways but this part is important and need to be proved in real devices besides unit testing