fix Serializer to work with new OutStream API
fix Serializer to work with new OutStream API

zig-lang/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,zig-lang/zig,andrewrk/zig,raulgrell/zig,andrewrk/zig