It would be nice if we have multithreaded decoding and encoding with C++11 threading as an optional enhancement