All pastes #582004 Raw Edit

Stuff

public java v1 · immutable
·published 2007-06-21 20:18 UTC
rendered paste body
    private static byte[] unscrambler(byte abyte0[]) throws IOException {        byte abyte1[] = new byte[2 + abyte0.length];        ByteArrayOutputStream bytearrayoutputstream;        abyte1[0] = 31;        abyte1[1] = -117;        System.arraycopy(abyte0, 0, abyte1, 2, abyte0.length);        bytearrayoutputstream = new ByteArrayOutputStream();        Pack200.newUnpacker().unpack(new GZIPInputStream(new ByteArrayInputStream(abyte1)), new JarOutputStream(bytearrayoutputstream));        return bytearrayoutputstream.toByteArray();    }