writeString

private fnvoid writeString(ubyte * field, size_t length, const(char)[] str) @trusted nothrow

Write a string into a TAR header field, null-padded.

Parameters

fieldPointer to the field bytes.
lengthLength of the field.
strString to write.