writer num bytes fixed