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