enable creating reader from existing stream