[TM-35] More refactorings for `PACK`
Description
Problem: I'd like to have more things which facilitate serialization.
Solution: refactor. Now all serialization tests pass except for FAILWITH
one which is tricky to implement.
Related issue(s)
https://issues.serokell.io/issue/TM-35
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov