(self, read_context)
| 670 | write_context.write_int32(value.f1) |
| 671 | |
| 672 | def read(self, read_context): |
| 673 | a = A() |
| 674 | a.f1 = read_context.read_int32() |
| 675 | return a |
| 676 | |
| 677 | fory.register_type(A, serializer=Serializer(fory.type_resolver, RegisterClass)) |
| 678 | assert fory.deserialize(fory.serialize(RegisterClass(100))).f1 == 100 |
nothing calls this directly
no test coverage detected