开发者

Get the byte array of a CoyoteOutputStream

开发者 https://www.devze.com 2023-01-31 19:44 出处:网络
How to get the binary stream out from CoyoteOutputStream? OutputStream out = getOutputStream(); // returns a CoyoteOut开发者_开发技巧putStream object

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消