Tutorials
API Documentation
potc.supports.bin.
dump_obj
Dump any object to binary format. In order to reduce the size of bytes as much as possible, zlib compression is applied in this function.
obj (object): Any object.
object
data (bytes): Dumped bytes data.
bytes
load_obj
Load any object from binary format.
obj (object): Original object.