Byte field to integer

18 views
Skip to first unread message

kader Ben Mati

unread,
Jul 6, 2020, 3:03:07 PM7/6/20
to Protocol Buffers
Hi there,

Fields of type bytes are de-serialized automatically as String (Json) which seems garbage actually.
I have requirement to de-serialized bytes into 2 groups of 4 bits and convert each 4 bits into integer.
Could help me how I can do that?
I'm using java library.

Thanks,

Kader
Reply all
Reply to author
Forward
0 new messages