Serialization Builtins
Polorize (serialize)
The polorize()
operator is used to serialize object or primitive to a bytes value. This operator performs polo serialization on the object passed to it.
Read more about polo encoding here:
GitHub - sarvalabs/go-polo: Go Implementation of the POLO Serialization Scheme
Depolorize (deserialize)
The depolorize()
call performs deserialization on the polo encoded object returning the object type as provided to the operator call.
s = depolorize(String, b)
In this s is set with a depolorized String
value obtained from the bytes ‘b’.