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

Method formatNameBytes

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

Copy a name into a buffer. Copies characters from the name into the buffer starting at the specified offset. If the buffer is longer than the name, the buffer is filled with trailing NULs. If the name is longer than the buffer, the output is truncated. @param name The header name from which to copy

(final String name, final byte[] buf, final int offset, final int length)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

writeEntryHeaderMethod · 0.95

Calls 3

substringMethod · 0.80
encodeMethod · 0.65
lengthMethod · 0.45

Tested by

no test coverage detected