我正在尝试读取一个非常大的.AFP文件,然后将其转换为.PDF,但我不能这样做,我已经达到了获取文件的所有字节但是如何将其转换为PDF的程度
// Open the file.
FileStream fs = new FileStream (szFileName, FileMode.Open);
// Create a BinaryReader on the file.
BinaryReader br = new BinaryReader (fs);
// array of bytes big enough to hold the file's contents.
Byte [] bytes = new Byte [fs.Length];
// Your unmanaged pointer.
IntPtr pUnmanagedBytes = new IntPtr (0);
Int nLength;
NLength = Convert.ToInt32 (fs.Length);
// Read the contents of the file into the array.
Bytes = br.ReadBytes (nLength);
我正在使用C#的任何想法或建议。