示例#1
0
        public static void GetDataForkFromAppleSingle(Stream appleSingle, out Stream dataFork)
        {
            Stream @null = Stream.Null;
            string text;

            byte[] array;
            MimeAppleTranscoder.Transcode(appleSingle, null, null, null, ref @null, out text, out array);
            dataFork = @null;
        }
示例#2
0
        public static string GetFileNameFromResourceFork(Stream resourceForkStream)
        {
            Stream stream = null;
            string result;

            byte[] array;
            MimeAppleTranscoder.Transcode(resourceForkStream, null, null, null, ref stream, out result, out array);
            return(result);
        }
示例#3
0
        public static void AppledoubleToMacBin(Stream resourceForkStream, Stream dataForkStream, Stream outMacBinStream, out string fileName, out byte[] additionalInfo)
        {
            Stream stream = null;

            MimeAppleTranscoder.Transcode(resourceForkStream, dataForkStream, null, outMacBinStream, ref stream, out fileName, out additionalInfo);
        }
示例#4
0
        public static void ApplesingleToMacBin(Stream applesingleStream, Stream outAttachMacInfo, Stream outMacBinStream, out string fileName, out byte[] additionalInfo)
        {
            Stream stream = null;

            MimeAppleTranscoder.Transcode(applesingleStream, null, outAttachMacInfo, outMacBinStream, ref stream, out fileName, out additionalInfo);
        }