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

Method getShort

classpath/java/nio/ByteBuffer.java:223–227  ·  view source on GitHub ↗
(int position)

Source from the content-addressed store, hash-verified

221 }
222
223 public short getShort(int position) {
224 checkGet(position, 2, true);
225
226 return rawGetShort(position);
227 }
228
229 private long rawGetLong(int position) {
230 return (((long) (doGet(position ) & 0xFF)) << 56)

Callers 1

testMethod · 0.95

Calls 2

checkGetMethod · 0.95
rawGetShortMethod · 0.95

Tested by 1

testMethod · 0.76