The Artima Developer Community
Sponsored Link

Java Buzz Forum
Compress and decompress byte[] in java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
T Tak

Posts: 152
Nickname: awsometak
Registered: Feb, 2016

T Tak is Java Enthusiast
Compress and decompress byte[] in java Posted: Dec 4, 2016 12:02 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by T Tak.
Original Post: Compress and decompress byte[] in java
Feed Title: programtalk
Feed URL: http://programtalk.com/feed/
Feed Description: A blog mainly about java
Latest Java Buzz Posts
Latest Java Buzz Posts by T Tak
Latest Posts From programtalk

Advertisement

Here is a simple utility that compresses and decompresses a byte[] array. I have been using this utility to compress serialized objects before storing to and after retrieving them from the database. I have found it very useful. I have added a main method to just show that how the compression works. output:

The post Compress and decompress byte[] in java appeared first on programtalk.com.

Read: Compress and decompress byte[] in java

Topic: Java Tutorial : Java Threads (How to get the currentThread) Previous Topic   Next Topic Topic: Java Tutorial : Java Threads (Name the thread | How to set the Thread Name)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use