implement multi-segment rawdata read