private LeafNodeObject getChunk(long chunkStart, long chunkEnd) throws IOException {
        if (chunkEnd <= chunkStart || (chunkEnd - chunkStart > this.maxChunkSize) ||
                chunkStart > Integer.MAX_VALUE) {
            throw new IOException("ChunkStart out of range");
        }

        byte[] temp = Arrays.copyOfRange(this.fileContent, (int) chunkStart,
                (int) (chunkEnd - chunkStart));


        SignatureObject signature = new SignatureObject();
        signature.signatureData = new BinaryItem(ByteUtil.toListOfByte(temp));

//            RDCSignatureGenerator generator = new RDCSignatureGenerator();
//            signatureBytes = generator.ComputeHash(temp);
//
//            SignatureObject signature = new SignatureObject();
//            signature.SignatureData = new BinaryItem(signatureBytes);

        return new LeafNodeObject.IntermediateNodeObjectBuilder().Build(temp, signature);
    }
Get a chunk with the input bytes.

@param chunkStart The start index of the chunk.
@param chunkEnd   The end index of the chunk.
@return An LeafNodeObjectData which contains a chunk.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/chunking/RDCAnalysisChunking.java