def METHOD_NAME(src_stream: IO[bytes]) -> tuple[str, int]:
    """Gets stream digest and size.
    Args:
        src_stream: The input source stream.
    Returns:
        Tuple of src_stream's digest and src_stream's size in bytes.
    """
    digest, size = SnowflakeFileUtil.get_digest_and_size(src_stream)
    logger.debug("getting digest and size for stream: %s, %s", digest, size)
    return digest, size