add block buffer api: merge, append
add example