go/neo/proto: protogen: Reuse sizer for typeSizeFixed
Generating code through sizer can already give answer if a type is fixed size or not. And in practice we don't care at all if it will be a bit slower compared to previous explicit type switch. For current code it is just a small cleanup, and it will be handy to support messagepack encoding as well. No change in generated code.
Showing
Please register or sign in to comment