Get the byte array of a CoyoteOutputStream
How to get the binary stream out from CoyoteOutputStream?
OutputStream out = getOutputStream(); // returns a CoyoteOut开发者_开发技巧putStream object
out.write(binary);
out.flush();
Is there way to get the byte array back like in ByteArrayOutputStream toByteArray() ?
Thank You.
精彩评论