Used to obtain the data in stream.
public int getDataStream ( byte[] chunk, int chunkSize )
Returns the chunk of data of size 'chunkSize' from the given offset.