TarEntry.ComputeCheckSum Method

Compute the checksum of a tar entry header.

[Visual Basic]
Public Function ComputeCheckSum( _
   ByVal buf As Byte() _
) As Long
[C#]
public long ComputeCheckSum(
   byte[] buf
);

Parameters

buf

The tar entry's header buffer.

Return Value

The computed checksum.

See Also

TarEntry Class | TarEntry Members | ICSharpCode.SharpZipLib.Tar Namespace