public static int XmlOutputBufferWriteString(XmlOutputBuffer @out, string str) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __ret = __Internal.XmlOutputBufferWriteString(__arg0, str); return(__ret); }
public static int XmlOutputBufferClose(XmlOutputBuffer @out) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __ret = __Internal.XmlOutputBufferClose(__arg0); return(__ret); }
public static int XmlOutputBufferWrite(XmlOutputBuffer @out, int len, string buf) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __ret = __Internal.XmlOutputBufferWrite(__arg0, len, buf); return(__ret); }
public static byte *XmlOutputBufferGetContent(XmlOutputBuffer @out) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __ret = __Internal.XmlOutputBufferGetContent(__arg0); return(__ret); }
public static int XmlOutputBufferWriteEscape(XmlOutputBuffer @out, byte *str, XmlCharEncodingOutputFunc escaping) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __arg2 = escaping == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(escaping); var __ret = __Internal.XmlOutputBufferWriteEscape(__arg0, str, __arg2); return(__ret); }
public static XmlTextWriter XmlNewTextWriter(XmlOutputBuffer @out) { var __arg0 = ReferenceEquals(@out, null) ? IntPtr.Zero : @out.__Instance; var __ret = __Internal.XmlNewTextWriter(__arg0); XmlTextWriter __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (XmlTextWriter.NativeToManagedMap.ContainsKey(__ret)) { __result0 = XmlTextWriter.NativeToManagedMap[__ret]; } else { __result0 = XmlTextWriter.__CreateInstance(__ret); } return(__result0); }
public static XmlOutputBuffer __xmlOutputBufferCreateFilename(string URI, XmlCharEncodingHandler encoder, int compression) { var __arg1 = ReferenceEquals(encoder, null) ? IntPtr.Zero : encoder.__Instance; var __ret = __Internal.__xmlOutputBufferCreateFilename(URI, __arg1, compression); XmlOutputBuffer __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (XmlOutputBuffer.NativeToManagedMap.ContainsKey(__ret)) { __result0 = XmlOutputBuffer.NativeToManagedMap[__ret]; } else { __result0 = XmlOutputBuffer.__CreateInstance(__ret); } return(__result0); }
public static XmlOutputBuffer XmlOutputBufferCreateFd(int fd, XmlCharEncodingHandler encoder) { var __arg1 = ReferenceEquals(encoder, null) ? IntPtr.Zero : encoder.__Instance; var __ret = __Internal.XmlOutputBufferCreateFd(fd, __arg1); XmlOutputBuffer __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (XmlOutputBuffer.NativeToManagedMap.ContainsKey(__ret)) { __result0 = XmlOutputBuffer.NativeToManagedMap[__ret]; } else { __result0 = XmlOutputBuffer.__CreateInstance(__ret); } return(__result0); }
public static XmlOutputBuffer XmlOutputBufferCreateIO(XmlOutputWriteCallback iowrite, XmlOutputCloseCallback ioclose, IntPtr ioctx, XmlCharEncodingHandler encoder) { var __arg0 = iowrite == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(iowrite); var __arg1 = ioclose == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(ioclose); var __arg3 = ReferenceEquals(encoder, null) ? IntPtr.Zero : encoder.__Instance; var __ret = __Internal.XmlOutputBufferCreateIO(__arg0, __arg1, ioctx, __arg3); XmlOutputBuffer __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (XmlOutputBuffer.NativeToManagedMap.ContainsKey(__ret)) { __result0 = XmlOutputBuffer.NativeToManagedMap[__ret]; } else { __result0 = XmlOutputBuffer.__CreateInstance(__ret); } return(__result0); }