MCPcopy Create free account
hub / github.com/apache/ant / parseOctalOrBinary

Method parseOctalOrBinary

src/main/org/apache/tools/tar/TarUtils.java:172–183  ·  view source on GitHub ↗

Compute the value contained in a byte buffer. If the most significant bit of the first byte in the buffer is set, this bit is ignored and the rest of the buffer is interpreted as a binary number. Otherwise, the buffer is interpreted as an octal number as per the parseOctal function above. @param

(final byte[] buffer, final int offset,
                                          final int length)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseTarHeaderMethod · 0.95

Calls 3

parseOctalMethod · 0.95
parseBinaryLongMethod · 0.95
parseBinaryBigIntegerMethod · 0.95

Tested by

no test coverage detected