xml - Rewriting Binary Streams using Java -


I am studying NATI and Mina but it is the best way to rewrite the binary stream. For example, I would like to create a proxy that will allow for further replacement with XML.

Examples appreciated.

I think you are thinking very little at one level. XML is not so "binary" because it is an abstract on binary if you want to convert the XML snippet into your line, you have to hit the payload portion of the packet and see the patterns of XML. Byte is used in a regular way after rebuilding temporarily.

Once you have this search and match what you want, you can change what you want to change and send it again.

The hard part of this is that before you leave your machine you need to cache some input so that you can search for the beginning and the end that you are looking for. Is it difficult that often it is, you do not know that "beginning" and "end" of data payload has been formed.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -