impl unpack buffer
Merge branch 'unpack-buffer' into impl-pack-n