Write binary