KnowledgeBoat Logo
|

Computer Science

What is meant by serialization and deserialization in the context of binary files?

Python File Handling

1 Like

Answer

Serialization is the process of transforming data or an object in memory (RAM) into a stream of bytes called byte streams. These byte streams, in a binary file, can then be stored on a disk, in a database, or sent through a network. The serialization process is also called pickling.

Deserialization or unpickling is the inverse of the pickling process, where a byte stream is converted back into a Python object.

Answered By

3 Likes


Related Questions