MCPcopy Create free account
hub / github.com/davidgiven/luje / putShort

Method putShort

lib/java/nio/ReadWriteHeapByteBuffer.java:195–202  ·  view source on GitHub ↗
(int index, short value)

Source from the content-addressed store, hash-verified

193 }
194
195 @Override
196 public ByteBuffer putShort(int index, short value) {
197 if (index < 0 || (long) index + 2 > limit) {
198 throw new IndexOutOfBoundsException();
199 }
200 store(index, value);
201 return this;
202 }
203
204 @Override
205 public ByteBuffer putShort(short value) {

Callers

nothing calls this directly

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected