MCPcopy Create free account
hub / github.com/ReadyTalk/avian / addTwoBytes

Method addTwoBytes

classpath/java/util/zip/ZipOutputStream.java:229–232  ·  view source on GitHub ↗
(int bytes, int offset, byte[] buffer)

Source from the content-addressed store, hash-verified

227 }
228
229 private void addTwoBytes(int bytes, int offset, byte[] buffer) throws IOException {
230 buffer[offset] = (byte) (bytes & 0xff);
231 buffer[offset + 1] = (byte) ((bytes >> 8) & 0xff);
232 }
233
234 private void addFourBytes(int bytes, int offset, byte[] buffer) throws IOException {
235 buffer[offset] = (byte) (bytes & 0xff);

Callers 3

writeLocalHeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected