TarHeader.GetLongOctalBytes Method

SharpZip Compression Library

SharpZip Compression Library

TarHeader.GetLongOctalBytes Method 

Put an octal representation of a value into a buffer

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

Parameters

val
Value to be convert to octal
buf
The buffer to update
offset
The offset into the buffer to store the value
length
The length of the octal string

Return Value

Index of next byte

See Also

TarHeader Class | ICSharpCode.SharpZipLib.Tar Namespace