<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_codes(self):
 """ Get the codes. Returns ------- codes : integer array view A non writable view of the `codes` array. """

        v = self._codes.view()
        v.flags.writeable = False
        return v