Finds the start and end lines for serialization.

serialize_starts_ends(file_in, pattern = "void Gridcell::serialize")

Arguments

file_in

A character vector of file lines to search through.

pattern

A character string pattern to look for in the file.

Value

A numeric vector of length 2, giving the start and end line numbers.