move buffer_rw.hpp from lemon.io library

Signed-off-by: yayanyang <yayanyang@gmail.com>