Reads Matrix name. Modifies buf position. @param buf ByteBuffer @return name String @throws IOException if reading from buffer fails
(ByteBuffer buf, MatFileHeader header)
| 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. |
no test coverage detected