/**
* @param buffer
*/
public AsyncMsg deserialize(ByteBuffer[] message) throws IOException {
AsyncMsg asyncMsg = new AsyncMsg();
InputStream t=new ByteArrayInputStream( message[1].array());
if (inflator!=null)
t = new InflaterInputStream(t, inflator);
DataInputStream in = new DataInputStream( t );
asyncMsg.readExternal(in);
in.close();
return asyncMsg;
}