parameters: (fp, hash_alg)
return_statement: return Base64EncodeHash(_CalculateHashFromContents(fp, hash_alg))
docstring: Calculates a base64 digest of the contents of a seekable stream.
  
    This function sets the stream position 0 before and after calculation.
  
    Args:
      fp: An already-open file object.
      hash_alg: Instance of hashing class initialized to start state.
  
    Returns:
      Hash of the stream in base64 format.
docstring_summary: Calculates a base64 digest of the contents of a seekable stream.
docstring_tokens: Calculates a base64 digest of the contents of a seekable stream .
function: def _CalculateB64EncodedHashFromContents(fp, hash_alg):
    """Calculates a base64 digest of the contents of a seekable stream.
  
    This function sets the stream position 0 before and after calculation.
  
    Args:
      fp: An already-open file object.
      hash_alg: Instance of hashing class initialized to start state.
  
    Returns:
      Hash of the stream in base64 format.
    """
    return Base64EncodeHash(_CalculateHashFromContents(fp, hash_alg))
function_tokens: def _CalculateB64EncodedHashFromContents ( fp , hash_alg ) : return Base64EncodeHash ( _CalculateHashFromContents ( fp , hash_alg ) )