public static int getCheckSumOctalBytes ( long value , byte [ ] buf , int offset , int length ) { TarHeader . getOctalBytes ( value , buf , offset , length ) ; buf [ offset + length - 1 ] = ( byte ) ' ' ; buf [ offset + length - 2 ] = 0 ; return offset + length ; }
Parse the checksum octal integer from a header buffer .