code: def n2s(self, offset, length):
          
          s = ''
          for dummy in range(length):
              if self.endian == 'I':
                  s += chr(offset & 0xFF)
              else:
                  s = chr(offset & 0xFF) + s
              offset = offset >> 8
          return s
docs: Convert offset to string.