readString
private fn
string readString(const(ubyte) * field, size_t length) pureRead a null-terminated string from a TAR header field.
Parameters
field | Pointer to the field bytes. |
length | Length of the field. |
Returns
The decoded string with trailing nulls/spaces stripped.