I'm working with EXI
, which encodes XML
into a binary format and back.
For this I'm using the open source JAVA tool ExiProcessor
, which is a executable JAR file and which makes this process very easy. Since I want to use it with C#
, I need to exchange data between those two.
The easiest way is to write the XML data from C# to a file, read this file with ExiProcessor
and then the other way round. But this isn't really fast.
Therefore I wonder what alternatives are there. I read that as of .NET Framework 4 you can use MemoryMappedFiles
. I had a look, but it seems they only work between two applications that are using .NET Framework 4?
Is there any other way to speed up the process?
As a fallback I could use the JAVA sources and write my own application, but I would prefer to use the ExiProcessor
as is.