fix read byte and write byte
add git ignore for bin file