Added read_short() and write_short().