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

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