protocol buffers - Why protobuf doesn't support alphanumeric type? -


i'm wondering why protobuf doesn't implement support of commonly used alphanumeric type? allow encode several characters in byte (more if case insensitive) no sort of compression involved. protobuf developers planning implement in future?

thanks,

in today's global world, number of times when "alphanumeric" means 62 characters in range 0-9, a-z , a-z minimal. if consider basic multilingual plane, there 48k code units (which say: on 70% of available range) counted "alphanumeric" - , standard (although may suboptimal in locales) way of encoding them utf-8, protobuf uses string type.

i cannot see advantage in using dedicated wire-type category of data, , any additional wire-type have issue need support adding in multiple libraries, because unknown wire-type renders stream unreadable down-level parsers: cannot skip on unwanted data if don't know wire-type (the wire-type defines skip rules).

of course, since have bytes type available, can feel free bespoke want inside that.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

html - Repeat image to extend header to fill screen -

javascript - Backbone.js getting target attribute -