• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use DeflaterOutputStream?

 
ram ragu
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a very very limitted knowledge on java..
I have a unique requirement where I need to use DeflaterOutputStream. But I got confused while trying to use this..
I have a byte array
byte [] b) and need to compress the data using DeflaterOutputStream and write the compressed data into an outputStream
kindly let me know
Ram
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will move this to the I/O forum and hope that somebody can give you an example.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!