Closed asahtik closed 1 month ago
C++: use .str() method on a message to get the serialized message string. Python: implemented __str__ method, which gets automatically called when printing.
.str()
__str__
Thanks!
I think we should use repr instead of str -> https://stackoverflow.com/questions/1436703/what-is-the-difference-between-str-and-repr
C++: use
.str()
method on a message to get the serialized message string. Python: implemented__str__
method, which gets automatically called when printing.