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

Method putShort

src/main/org/apache/tools/zip/ZipShort.java:81–84  ·  view source on GitHub ↗

put the value as two bytes in big endian byte order. @param value the Java int to convert to bytes @param buf the output buffer @param offset The offset within the output buffer of the first byte to be written. must be non-negative and no larger than buf.length-2

(int value, byte[] buf, int offset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

encodeMethod · 0.95
getBytesMethod · 0.95
createLocalFileHeaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected