TarEntry.AdjustEntryName Method

SharpZip Compression Library

SharpZip Compression Library

TarEntry.AdjustEntryName Method 

Convenience method that will modify an entry's name directly in place in an entry header buffer byte array.

public void AdjustEntryName(
   byte[] outbuf,
   string newName
);

Parameters

outbuf
The buffer containing the entry header to modify.
newName
The new name to place into the header buffer.

See Also

TarEntry Class | ICSharpCode.SharpZipLib.Tar Namespace