Two class for read and write bytes