title: How can I convert base64 encode shadeproto.ByteString in scala?
body: <p>in my spark repo, i used following sbt setting, in my understanding all com.google.protobuf.ByteString is replace by shadeproto.ByteString. My questing is how can I import shadeproto.ByteString type and write a function that do base64 encoding of this ByteString?</p>
  <pre><code>assemblyShadeRules in assembly := Seq(
    ShadeRule.rename(&quot;com.google.protobuf.**&quot; -&gt; &quot;shadeproto.@1&quot;).inAll,
    ShadeRule.rename(&quot;scala.collection.compat.**&quot; -&gt; &quot;scalacompat.@1&quot;).inAll,
    ShadeRule.rename(&quot;shapeless.**&quot; -&gt; &quot;shadeshapeless.@1&quot;).inAll
  )
  
  </code></pre>