 LZ77 maintains a "sliding window" during compression.This was later shown to be equivalent to the "explicit dictionary" constructed by LZ78—however, they are only equivalent when the entire data is intended to be decompressed.Since LZ77 encodes and decodes from a sliding window over previously seen characters, decompression must always start at the beginning of the input.