/// <summary> /// Create a new CefXmlReader object. The returned object's methods can only /// be called from the thread that created the object. /// </summary> public static CefXmlReader Create(CefStreamReader stream, CefXmlEncoding encodingType, string uri) { if (stream == null) throw new ArgumentNullException("stream"); fixed (char* uri_str = uri) { var n_uri = new cef_string_t(uri_str, uri != null ? uri.Length : 0); return CefXmlReader.FromNative( cef_xml_reader_t.create(stream.ToNative(), encodingType, &n_uri) ); } }
/// <summary> /// Create a new CefXmlReader object. The returned object's methods can only /// be called from the thread that created the object. /// </summary> public static cef_xml_reader_t *Create(cef_stream_reader_t *stream, CefXmlEncoding encodingType, cef_string_t *URI) { throw new NotImplementedException(); // TODO: CefXmlReader.Create }
public static extern cef_xml_reader_t *create(cef_stream_reader_t *stream, CefXmlEncoding encodingType, cef_string_t *URI);
public static extern cef_xml_reader_t* create(cef_stream_reader_t* stream, CefXmlEncoding encodingType, cef_string_t* URI);