Don't create memory objects for each NAL header to write.