public static cef_xml_reader_t *Create(CefStreamReader reader, CefXmlEncodingType encodingType, string uri) { if (reader == null) throw new ArgumentNullException(nameof(reader)); fixed(char *s0 = uri) { var cstr0 = new cef_string_t { Str = s0, Length = (uri != null ? uri.Length : 0) }; return(CefNativeApi.cef_xml_reader_create(reader.GetNativeInstance(), encodingType, &cstr0)); } }
/// <summary> /// Continue the request. Read the resource contents from |stream|. /// </summary> public unsafe virtual void Continue(CefStreamReader stream) { NativeInstance->Continue((stream != null) ? stream.GetNativeInstance() : null); GC.KeepAlive(this); }