a demo that write & read data with binary block