docs: def from_bytes(buffer):
          """Creates a sourcemap view from a JSON string."""
          buffer = to_bytes(buffer)
          return ProguardView._from_ptr(rustcall(
              _lib.lsm_proguard_mapping_from_bytes,
              buffer, len(buffer)))