<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_known_read_position(fp, buffered=True):
 """ Return a position in a file which is known to be read & handled. It assumes a buffered file and streaming processing. """

    buffer_size = io.DEFAULT_BUFFER_SIZE if buffered else 0
    return max(fp.tell() - buffer_size, 0)