Document string and stream reading