AsciiTranslate Property

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarArchive.AsciiTranslate Property

Get/set the ascii file translation flag. If ascii file translation is true, then the file is checked to see if it a binary file or not. If the flag is true and the test indicates it is ascii text file, it will be translated. The translation converts the local operating system's concept of line ends into the UNIX line end, '\n', which is the defacto standard for a TAR archive. This makes text files compatible with UNIX.

public bool AsciiTranslate {get; set;}

See Also

TarArchive Class | ICSharpCode.SharpZipLib.Tar Namespace