How to decompress serialized object from a Gzip file
In last section, you learn about how to compress a serialized object into a file, now you learn how to decompress it from a Gzip file. The idea is very…
Favourite tutorials for developers
In last section, you learn about how to compress a serialized object into a file, now you learn how to decompress it from a Gzip file. The idea is very…
In Java, Serialization means converting Java objects into a byte stream; Deserialization means converting the serialized object’s byte stream back to the original Java object. In Java, we have to…
This example shows how to use ObjectInputStream to read a serialized object from a file in Java, aka Deserialization. The below example converts a Person object to bytes stream and…