TODO:
* complete library
** complete read_buffer function

20151219
* see `git log' for more recent change log
* initial version

