private List<DataRange> calculateHexDumpHighlights(final DataRange requestedHighlight) {
        if (requestedHighlight == null) {
            return null;
        } else {
            if (requestedHighlight.getOptByteOffsetFrom().isPresent()
                && requestedHighlight.getOptByteOffsetTo().isPresent()) {

                return HexDumpUtil.calculateHighlights(
                                requestedHighlight.getOptByteOffsetFrom().get(),
                                requestedHighlight.getOptByteOffsetTo().get())
                        .stream()
                        .map(textRange -> DataRange.builder()
                                .fromLocation(textRange.getFrom())
                                .toLocation(textRange.getTo())
                                .build())
                        .collect(Collectors.toList());
            } else {
                // Don't have a byte range to work with so can't do anything
                return List.of(requestedHighlight);
            }
        }
    }
How big our buffers are. This should always be a multiple of 8.
stroom-data/stroom-data-store-impl/src/main/java/stroom/data/store/impl/DataFetcher.java