Data loss when sending to native USB port (SerialUSB)

duh, sorry, i thought this was implemented in the current version since this thread was from jan.

Alright, i used the new files and with your read-example it works alright, but with the original read method (reading 1 by 1, my posted receiving-code) i only receive 512b out of 100k and gets stuck, i assume this might be because every time i read the buffer with read() or read(b,1) it does not read just 1 byte and it drops all the data received so i end up with only 512b out of 100k.

Is there a way to make it backwards compatible with the current read method, so we can use the old-read-1-by-1 and when needed fast speed for fast transfer use this one