TarHeader.GetOctalBytes Method

SharpZip Compression Library

SharpZip Compression Library

TarHeader.GetOctalBytes Method 

Put an octal representation of a value into a buffer

public static int GetOctalBytes(
   long val,
   byte[] buf,
   int offset,
   int length
);

Parameters

val
the value to be converted to octal
buf
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