Package org.renjin.primitives.io.serialization

Examples of org.renjin.primitives.io.serialization.RDataWriter


    indexOut.close();
  }

  private byte[] serializeSymbol(NamedValue namedValue) throws IOException {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    RDataWriter writer = new RDataWriter(context, baos);
    writer.serialize(namedValue.getValue());
    baos.close();
    return baos.toByteArray();
  }
View Full Code Here


      }
      indexMap.put(logicalDatasetName, node.getName());
     
      File targetFile = new File(dataObjectDirectory, node.getName());
      FileOutputStream out = new FileOutputStream(targetFile);
      RDataWriter writer = new RDataWriter(session.getTopLevelContext(), out);
      writer.save(node.getValue());
      out.close();   
    }
  }
View Full Code Here

TOP

Related Classes of org.renjin.primitives.io.serialization.RDataWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.