asynkron / Wire

Binary serializer for POCO objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does wire do zig-zag / 7bit encoding?

rikimaru0345 opened this issue · comments

As the title says.
Two really common encoding schemes. Also used by protobuf.

Zigzag is basically rotating an int16/32/64 so the sign bit becomes the least significant bit.
That helps the 7bit encoding to efficiently deal with negative numbers as well.

Does wire do this?
If no, is adding this planned?