Esempio n. 1
0
        public static IntPtr FromManaged(FilePath filePath)
        {
            if (filePath == null)
            {
                return(IntPtr.Zero);
            }

            return(StrictUtf8Marshaler.FromManaged(filePath.Posix));
        }
Esempio n. 2
0
 static StrictUtf8Marshaler()
 {
     encoding = new UTF8Encoding(false, true);
     staticInstance = new StrictUtf8Marshaler();
 }
Esempio n. 3
0
 static StrictUtf8Marshaler()
 {
     encoding       = new UTF8Encoding(false, true);
     staticInstance = new StrictUtf8Marshaler();
 }