def _get_c_string(data, position):
    """Decode a BSON 'C' string to python unicode string."""
    end = data.index(b"\x00", position)
    return _utf_8_decode(data[position:end], None, True)[0], end + 1
def _get_c_string ( data , position ) : end = data . index ( b"\x00" , position ) return _utf_8_decode ( data [ position : end ] , None , True ) [ 0 ] , end + 1
Decode a BSON 'C' string to python unicode string.