Example #1
0
        internal static int OCICharSetToUnicode(
            IntPtr svchp,
            StringBuilder dst,
            byte [] src,
            out int rsize)
        {
            int rc;
            long retSize;

            #if TRACE
            Trace.WriteLineIf(traceOci, "OCICharSetToUnicode", "OCI");
            #endif
            rc = OciNativeCalls.OCICharSetToUnicode (svchp, dst,
                        (dst != null ? dst.Capacity : 0),
                        src, src.Length, out retSize);
            rsize = (int) retSize;
            return(rc);
        }