()
| 111 | } |
| 112 | |
| 113 | public byte[] getNameToByteArray() { |
| 114 | try { |
| 115 | return name.getBytes(MatDataTypes.CHARSET); |
| 116 | } catch (UnsupportedEncodingException e) { |
| 117 | throw new RuntimeException(e); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | public int[] getDimensions() { |
| 122 | return Arrays.copyOf(dims, dims.length); |