Hi, thank you for attention.
I solve this problem by following way.
1. First I read compressed stream to some byte array.
2. Second calculate original buffer size and place it into metadata.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128609#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...