TarHeader.ParseOctal Method

Parse an octal string from a header buffer. This is used for the file permission mode value.

[Visual Basic]
Public Shared Function ParseOctal( _
   ByVal header As Byte(), _
   ByVal offset As Integer, _
   ByVal length As Integer _
) As Long
[C#]
public static long ParseOctal(
   byte[] header,
   int offset,
   int length
);

Parameters

header

The header buffer from which to parse.

offset

The offset into the buffer from which to parse.

length

The number of header bytes to parse.

Return Value

The long value of the octal string.

See Also

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