public LzmaDecoderStream(Stream input, byte[] info, long limit) { mInputStream = input; mLimit = limit; mBuffer = new byte[4 << 10]; mDecoder = new LZMA.CLzmaDec(); mDecoder.LzmaDec_Construct(); mDecoder.LzmaDec_Allocate(P.From(info, 0), (uint)info.Length, LZMA.ISzAlloc.SmallAlloc); mDecoder.LzmaDec_Init(); }
public LzmaDecoderStream(Stream input, byte[] info, long limit) { mInputStream = input; mLimit = limit; mBuffer = new byte[4 << 10]; mDecoder = new LZMA.CLzmaDec(); mDecoder.LzmaDec_Construct(); mDecoder.LzmaDec_Allocate(P.From(info, 0), (uint)info.Length, LZMA.ISzAlloc.SmallAlloc); mDecoder.LzmaDec_Init(); }