n the buffer,
 the output is truncated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The header name from which to copy the characters.</dd>
<dd><code>buf</code> - The buffer where the name is to be stored.</dd>
<dd><code>offset</code> - The starting offset into the buffer</dd>
<dd><code>length</code> - The maximum number of header bytes to copy.</dd>
<dd><code>encoding</code> - name of the encoding to use for file names</dd>
<dt><span class="returnLabel">Returns:<