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

Method putShort

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

Source from the content-addressed store, hash-verified

163 }
164
165 public ByteBuffer putShort(int position, short val) {
166 checkPut(position, 2, true);
167
168 rawPutShort(position, val);
169
170 return this;
171 }
172
173 public ByteBuffer putLong(long val) {
174 checkPut(position, 8, false);

Callers 1

testMethod · 0.95

Calls 2

checkPutMethod · 0.95
rawPutShortMethod · 0.95

Tested by 1

testMethod · 0.76