Base64 decode in C# or Java

后端 未结 6 1996
鱼传尺愫
鱼传尺愫 2020-12-10 22:07

I have a Base64-encoded object with the following header:

application/x-xfdl;content-encoding=\"asc-gzip\"

What is the best way to proceed

6条回答
  •  感情败类
    2020-12-10 22:32

    For java, have you tried java's built in java.util.zip package? Alternately, Apache Commons has the Commons Compress library to work with zip, tar and other compressed file types. As to decoding Base 64, there are several open source libraries, or you can use Sun's sun.misc.BASE64Decoder class.

提交回复
热议问题