r">trailer</span><span class="special">));</span>
</pre>
<p>
        Using a custom allocator to serialize the last chunk:
      </p>
<pre class="programlisting"><span class="comment">// Use a custom allocator for serializing the last chunk</span>
<span class="identifier">fields</span> <span class="identifier">trailer</span><span class="special">;</span>
<span class="identifier">trailer</span><span class="special">.</span><span class="identifier">set</span><span class="special">(</span><span class="identifi