Idiomatic way to convert an InputStream to a String in Scala

后端 未结 0 1765
星月不相逢
星月不相逢 2020-12-23 04:22

I have a handy function that I\'ve used in Java for converting an InputStream to a String. Here is a direct translation to Scala:

  def inputStreamToString(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题