Results 1 to 3 of 3

Thread: [RESOLVED] [2005] .NET Equivalent to GZIPInputStream

  1. #1

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Resolved [RESOLVED] [2005] .NET Equivalent to GZIPInputStream

    I am trying to decompress a byte array so I can read the image that is stored withing the bytes. I know in java you can use GZIPInputStream for decompressing a stream, but is their anything equivalent to this class in .NET?


    Any help would be greatful.

    Thanks.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2005] .NET Equivalent to GZIPInputStream

    System.IO.Compression.GZipStream, assuming that the stream you're reading was compressed using GZIP in the first place. Easy miss.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Re: [2005] .NET Equivalent to GZIPInputStream

    Quote Originally Posted by jmcilhinney
    System.IO.Compression.GZipStream, assuming that the stream you're reading was compressed using GZIP in the first place. Easy miss.
    Wow, silly miss thanks!.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width