TarHeader.GetOctalBytes Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarHeader.GetOctalBytes Method 

Put an octal representation of a value into a buffer

public static int GetOctalBytes(
   long value,
   byte[] buffer,
   int offset,
   int length
);

Parameters

value
the value to be converted to octal
buffer
buffer to store the octal string
offset
The offset into the buffer where the value starts
length
The length of the octal string to create

Return Value

The offset of the character next byte after the octal string

See Also

TarHeader Class | ICSharpCode.SharpZipLib.Tar Namespace