FastInfoset.NET 18.14.5339
FastInfoset.NET 18.14.5339
FastInfoset.NET offers an extremely compact and widely interoperable encoding of the XML Infoset that is integrated into the XML processing API of .NET and is as straight forward to use as the system-provided text encoding.
Fast Infoset vs .NET Binary vs text
To show how compact Fast Infoset documents are, we selected 392 documents from 25 publicly available sources on the Web and compared their sizes using the Fast Infoset, .NET Binary and text encodings.
Individual document sizes ranged from about 100 bytes to more than 1 GB, with a grand total of approximately 26 GB.
Fast Infoset the most compact by far
Documents encoded using Fast Infoset were significantly more compact than documents encoded using the .NET Binary or text encodings.
Average Fast Infoset size for each of the 25 test sets ranged from 9% to 40% of the text encoding and from 20% to 72% of the .NET Binary encoding.
Integrated optional compression
FastInfoset.NET can optionally compress the Fast Infoset encoding using the LZF4, DEFLATE, ZLIB, GZIP, LZMA or BZIP2 methods.
You can select the desired compression method and compression level using parameters in the XmlFastInfosetWriter and XmlFastInfosetFactory.
The XmlFastInfosetReader can automatically detect the compression method to use when decoding or you can explicitly specify it yourself.
Ultra compactness achieved
With compression set to DEFLATE at level 6, the size of the Fast Infoset encoding decreased further to become astonishingly small, with the average size of each of the 25 test sets ranging from 2% to 16% of the text encoding.
High-speed compression
For maximum performance, FastInfoset.NET uses the high-speed compression implementations of DotNetCompression.
Especially when LZF4 is used, the compression throughput is so high that the processing overhead is practically negligible.
The FI API is integrated into the XML API
Using the Fast Infoset encoding is as easy as using the text encoding.
The reader and writer classes of FastInfoset.NET implement the abstract XmlReader and XmlWriter classes of .NET, so you get all the benefits of using them as an integral part of the XML API of .NET.
The FI reader/writer is similar to the text reader/writer
If you are familiar with the XmlTextReader and XmlTextWriter of .NET, you will immediately feel comfortable with the XmlFastInfosetReader and XmlFastInfosetWriter classes.
You can switch from the system-provided text encoding to the Fast Infoset encoding with practically no changes in your code.
Only for V.I.P
Warning! You are not allowed to view this text.