Module notzed.dez
Package au.notzed.dez

Class DEZDecoder

    • Constructor Detail

      • DEZDecoder

        public DEZDecoder​(byte[] source,
                          byte[] patch)
        Create a new decoder.

        The decoder will transform source using patch to create the original target sequence.

        source - Must match the source parameter used when generating the patch.
        patch - Patch byte stream.
    • Method Detail

      • decode

        public byte[] decode()
                      throws DEZFormatException
        Perorm decoding.

        Recreates the original target data from the source and patch.

        The decoded data.
        DEZFormatException - If the patch is invalid or the crc check fails.