Why does setByte() return an int?