v0.2.3 fixed uncompressed data handling; encoder sync/async share same code