How can I convert a string into a GZIP Base64 string?

前端 未结 2 644
被撕碎了的回忆
被撕碎了的回忆 2020-12-28 09:56

I\'ve been trying to figure out using GZIPOutputStream\'s and the like but have had no success with understanding them. All I want to do is convert a string of char

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-28 10:26

    We can use Java GZIPOutputStream/GZIInputStream and apache commons codec Base64 Encoder and Decoder:lifelongprogrammer.blogspot.com

提交回复
热议问题