Quick way to buy Sydney ferry tickets

Spending weekend in Sydney and want to visit Manly beach? Best way to get there is by ferry, but if it is nice sunny weekend it will be very crowdy and can be a long queue waiting to buy tickets near Manly wharf on Circular Quay. But you can easily jump that queue by going to any other ticket office at Circular Quay as all offices are selling the same tickets.