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

Method rawPutShort

classpath/java/nio/ByteBuffer.java:144–147  ·  view source on GitHub ↗
(int position, short val)

Source from the content-addressed store, hash-verified

142 }
143
144 private void rawPutShort(int position, short val) {
145 doPut(position , (byte) ((val >> 8) & 0xff));
146 doPut(position + 1, (byte) ((val ) & 0xff));
147 }
148
149 public ByteBuffer putLong(int position, long val) {
150 checkPut(position, 8, true);

Callers 1

putShortMethod · 0.95

Calls 1

doPutMethod · 0.95

Tested by

no test coverage detected