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

Method readName

src/main/java/com/jmatio/io/MatFileReader.java:1299–1302  ·  view source on GitHub ↗

Reads Matrix name. Modifies buf position. @param buf ByteBuffer @return name String @throws IOException if reading from buffer fails

(ByteBuffer buf, MatFileHeader header)

Source from the content-addressed store, hash-verified

1297 * @throws IOException if reading from buffer fails
1298 */
1299 private static String readName(ByteBuffer buf, MatFileHeader header) throws IOException {
1300 ISMatTag tag = new ISMatTag(buf);
1301 return tag.readToString(header.getByteOrder());
1302 }
1303
1304 /**
1305 * Reads MAT-file header.

Callers 1

readMatrixMethod · 0.95

Calls 2

readToStringMethod · 0.95
getByteOrderMethod · 0.80

Tested by

no test coverage detected