private static void parseMCOS(MLUInt8 mcosData, Set<MLObjectPlaceholder> mcosPlaceholders) throws IOException { ByteBuffer buffer = mcosData.getRealByteBuffer(); ByteBufferInputStream dataStream = new ByteBufferInputStream(buffer, buffer.limit()); Map<String, MLArray> mcosContent = matFile.getContent(); MLCell mcosInfo = (MLCell) ((MLStructure) mcosContent.get("@0")).getField("MCOS"); ByteBuffer mcosDataBuf = ((MLUInt8) mcosInfo.get(0)).getRealByteBuffer();
private static void parseMCOS(MLUInt8 mcosData, Set<MLObjectPlaceholder> mcosPlaceholders) throws IOException { ByteBuffer buffer = mcosData.getRealByteBuffer(); ByteBufferInputStream dataStream = new ByteBufferInputStream(buffer, buffer.limit()); Map<String, MLArray> mcosContent = matFile.getContent(); MLCell mcosInfo = (MLCell) ((MLStructure) mcosContent.get("@0")).getField("MCOS"); ByteBuffer mcosDataBuf = ((MLUInt8) mcosInfo.get(0)).getRealByteBuffer();
if (content.getRealByteBuffer() != null) { new ByteBufferInputStream(content.getRealByteBuffer(), content.getRealByteBuffer().limit()))) { Object o = ois.readObject(); mlArray = new MLJavaObject(arrName, className, o);
new ByteBufferInputStream( content.getRealByteBuffer(), content.getRealByteBuffer().limit() ) ); try