temporary test
padding buf_len to an even number.
padding buf_len to an even number.
use c++11
nothing much