parameters: (gcs_path, byte_offset, local_file)
docstring: Copies the contents of gcs_path from byte_offset onwards to local_file.
  
    Args:
      gcs_path: The path to the GCS object.
      byte_offset: The byte offset to start appending from.
      local_file: The file object to write into.
  
    Raises:
      ValueError: If offset is negative or gcs_path is not a valid GCS path.
      CalledProcessError: If the gsutil command failed.
docstring_summary: Copies the contents of gcs_path from byte_offset onwards to local_file.
docstring_tokens: Copies the contents of gcs_path from byte_offset onwards to local_file .
function: def CopyContents(gcs_path, byte_offset, local_file):
    """Copies the contents of gcs_path from byte_offset onwards to local_file.
  
    Args:
      gcs_path: The path to the GCS object.
      byte_offset: The byte offset to start appending from.
      local_file: The file object to write into.
  
    Raises:
      ValueError: If offset is negative or gcs_path is not a valid GCS path.
      CalledProcessError: If the gsutil command failed.
    """
    if byte_offset < 0:
      raise ValueError('byte_offset must not be negative')
    command = ['gsutil', 'cat', '-r', '%d-' % byte_offset, gcs_path]
    subprocess.check_call(command, stdout=local_file)
    local_file.flush()
function_tokens: def CopyContents ( gcs_path , byte_offset , local_file ) : if byte_offset < 0 : raise ValueError ( 'byte_offset must not be negative' ) command = [ 'gsutil' , 'cat' , '-r' , '%d-' % byte_offset , gcs_path ] subprocess . check_call ( command , stdout = local_file ) local_file . flush ( )