All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.batkinson.jrsync.SearchHandler Maven / Gradle / Ivy

package com.github.batkinson.jrsync;

import java.io.IOException;

/**
 * The contract for handling block search results. Methods may be called out of
 * byte order depending on the search performed. See {@link BlockSearch} for
 * more details.
 */
public interface SearchHandler {
    void matched(long startOffset, BlockDesc match) throws IOException;
    void unmatched(long startOffset, long endOffset) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy