Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's the simpler, likely slower, but nonetheless actually correct solution: https://gist.github.com/cbsmith/9755809


Oh, gotcha. The code above with "byte[] buffer" also works since write(byte[], int, int) flushes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: