Noemax.Compression Namespace > CompressionFactory Class > Decompress Method : Decompress(Stream,Int32) Method |
'Declaration Public Overloads Overridable Function Decompress( _ ByVal input As System.IO.Stream, _ ByVal maxDecompressedSize As System.Integer _ ) As System.Byte()
'Usage Dim instance As CompressionFactory Dim input As System.IO.Stream Dim maxDecompressedSize As System.Integer Dim value() As System.Byte value = instance.Decompress(input, maxDecompressedSize)
public virtual System.byte[] Decompress( System.IO.Stream input, System.int maxDecompressedSize )
public function Decompress( input: System.IO.Stream; maxDecompressedSize: System.Integer ): System.array of Byte; virtual;
public function Decompress( input : System.IO.Stream, maxDecompressedSize : System.int ) : System.byte[];
public: virtual System.byte[]* Decompress( System.IO.Stream* input, System.int maxDecompressedSize )
public: virtual System.array<byte>^ Decompress( System.IO.Stream^ input, System.int maxDecompressedSize )
This method will not return more bytes than specified by the maxDecompressedSize parameter. If the length of the array of bytes returned by the method is equal to maxDecompressedSize, you can attempt to call this method again to retrieve more decompress bytes.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2