def _get_c_string(data, view, position, opts):
    """Decode a BSON 'C' string to python unicode string."""
    end = data.index(b"\x00", position)
    return _utf_8_decode(view[position:end],
                         opts.unicode_decode_error_handler, True)[0], end + 1
Decode a BSON 'C' string to python unicode string.
stackoverflow/venv/lib/python3.6/site-packages/bson/__init__.py