Skip to content
Advertisement

Java copy part of InputStream to OutputStream

I have a file with 3236000 bytes and I want to read 2936000 from start and write to an OutputStream

JavaScript

I can read and write byte by byte, but it’s to slow (i think) from buffered reading How can do I copy it?

Advertisement

Answer

JavaScript

should work for you.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement