How to use SimpleBinaryBufferedReaderFactory in SpringBatch for reading data in bytes

493 views Asked by At

I want to read data using SimpleBinaryBufferedReaderFactory, can anyone has any code snippet or link where i can understand the working.

I am skeptical on how to tell reader to when is the end of chunk. Like in case of text file there was endLine character in each line which was reading by LineMapper but my data does not contains endLine. I want to end the chunk when some byte is traversed.

How to tell reader to when to chunk it and get bytes for each chunk.

0

There are 0 answers