diff --git a/lz4.py b/lz4.py index d010c15..54312cf 100644 --- a/lz4.py +++ b/lz4.py @@ -1,5 +1,36 @@ import base64,Buffer,errorHandler,os,pyrbxm,struct,sys,requests,robloxapi def decompress(lz4data): - inputStream = Buffer.new(lz4data) + inputStream=Buffer.new(lz4data) + compressedLen=struct.unpack("> 4 + matLen=(token & 15) + 4 + if (litLen>=15): + ifinish=False + while (ifinish!=True): + nextByte=ord(inputStream.read()) + litLen=litLen+nextByte + if (nextByte!=0xFF): + ifinish=True + ##endif + literal = inputStream.read(litLen) + outputStream.append(literal) + outputStream.toEnd() + if (outputStream.Length