[EXI] Partial flush

Hello,
Some XML streaming protocols such as XMPP require data to be delivered as soon as possible. When bit-packed option is selected, an EXI encoder may keep some data in its buffer for long time before sending to it the channel.
XMPP solves similar problem for ZLIB via partial data flush (http://www.xmpp.org/extensions/xep-0138.html#impl). It will be nice to have a "flush" event that will align the stream to byte border like self-contained (SC) event does. Same event may also restart compression, when a compression option is selected.
Thanks

Received on Wednesday, 24 September 2008 01:25:11 UTC