bivas / protobuf-java-format

Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
BSD 3-Clause "New" or "Revised" License
153 stars 97 forks source link

makes possible to override byte format #34

Closed Karry closed 7 years ago

Karry commented 8 years ago

This PR ads ByteSerializer interface that enables override default byte array format. Then user can simply create hex-based or base64 serialization... https://github.com/bivas/protobuf-java-format/issues/32

scr commented 7 years ago

Can you please add test(s) for this?

Karry commented 7 years ago

Sorry for late reply, I miss notification for your comment. I added hex and base64 byte serializers and create test for it.