public static IntPtr FromManaged(FilePath filePath) { if (filePath == null) { return(IntPtr.Zero); } return(StrictUtf8Marshaler.FromManaged(filePath.Posix)); }
static StrictUtf8Marshaler() { encoding = new UTF8Encoding(false, true); staticInstance = new StrictUtf8Marshaler(); }