Fixed packet writing