A utility class for extracting segments of bytes from a file.