-
·
[TUT] Creating a ByteString in Android
The protobuf library has a construct called ByteString. This is a immutable sequence of bytes, usually used to serialise a file or other piece of data. Recently when using the Google Cloud Speech to Text library I had to convert a local voice recording to this protobuf ByteString to be able to send it to…