TarHeader.GetNameBytes Method

Determine the number of bytes in an entry name.

[Visual Basic]
Public Shared Function GetNameBytes( _
   ByVal name As System.Text.StringBuilder, _
   ByVal buf As Byte(), _
   ByVal offset As Integer, _
   ByVal length As Integer _
) As Integer
[C#]
public static int GetNameBytes(
   StringBuilder name,
   byte[] buf,
   int offset,
   int length
);

Parameters

name

buf

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 number of bytes in a header's entry name.

See Also

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