carray_to_list

globalmapper.carray_to_list(uint32 arr, uint32 size) list[source]

Converts a C-style array starting at memory address arr that is size members long into a Python-style list, and returns that list.

Parameters:
  • arr (uint32) – The pointer to the start of the array

  • size (uint32) – The number of members in the array

Returns:

A list form of the array that starts at arr

Return type:

list