Question : How to Extract gZip Base64 encoded Data

VS2008
I have a File (xfdl) that is encoded base64 and compressed using gzip. When I open the File with Notepad I can read the first line.
application/vnd.xfdl;content-encoding="base64-gzip"
Is there a Lib (free if possible) that I can Use from VB.NET to gzip/gunzip Files? and Encode/Decode Base64?

Answer : How to Extract gZip Base64 encoded Data

Sorry thought I was in the C# section..
Here is the code to Encode/Decode Base64 in VB.NET:
1:
2:
3:
4:
5:
6:
7:
8:
9:
    Public Function Encode(ByVal str As String) As String
        Dim encbuff As Byte() = System.Text.Encoding.UTF8.GetBytes(str)
        Return (Convert.ToBase64String(encbuff))
    End Function
 
    Public Function Decode(ByVal str As String) As String
        Dim decbuff As Byte() = Convert.FromBase64String(str)
        Return (System.Text.Encoding.UTF8.GetString(decbuff))
    End Function
Random Solutions  
 
programming4us programming4us