MCPcopy Create free account
hub / github.com/diffplug/matfilerw / _set

Method _set

src/main/java/com/jmatio/types/MLNumericArray.java:198–201  ·  view source on GitHub ↗
(ByteBuffer buffer, T value, int index)

Source from the content-addressed store, hash-verified

196 }
197
198 protected void _set(ByteBuffer buffer, T value, int index) {
199 buffer.position(getByteOffset(index));
200 buffer.put(getByteArray(value));
201 }
202
203 public void putImaginaryByteBuffer(ByteBuffer buff) {
204 if (!isComplex()) {

Callers 2

setRealMethod · 0.95
setImaginaryMethod · 0.95

Calls 3

getByteOffsetMethod · 0.95
putMethod · 0.80
getByteArrayMethod · 0.65

Tested by

no test coverage detected