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

Method putInt

lib/java/nio/ReadWriteHeapByteBuffer.java:155–164  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

153 }
154
155 @Override
156 public ByteBuffer putInt(int value) {
157 int newPosition = position + 4;
158 if (newPosition > limit) {
159 throw new BufferOverflowException();
160 }
161 store(position, value);
162 position = newPosition;
163 return this;
164 }
165
166 @Override
167 public ByteBuffer putInt(int index, int value) {

Callers 1

putFloatMethod · 0.95

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected