title: How to (base64) encode a protobuf as a String
body: <p>I have a protobuf and want to encode its binary representation in base64 (or another textual encoding) for transmission over a text protocol.  What's the cleanest way to do that?</p>