Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test
Method · 0.95
Calls
2
checkGet
Method · 0.95
rawGetShort
Method · 0.95
Tested by
1
test
Method · 0.76