From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 9E809BC69 for ; Mon, 15 Oct 2007 21:03:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAENWE0dA6aLokGdsb2JhbACORwEBAQEHBAQTEQc X-IronPort-AV: E=Sophos;i="4.21,278,1188770400"; d="scan'208";a="18038953" Received: from nz-out-0506.google.com ([64.233.162.232]) by mail4-smtp-sop.national.inria.fr with ESMTP; 15 Oct 2007 21:03:50 +0200 Received: by nz-out-0506.google.com with SMTP id x7so940190nzc for ; Mon, 15 Oct 2007 12:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5U4ZKstvzpOzeD7AKu8oSoCkYm3whGdaIhkNaGiR7EA=; b=dnKYk9nQIDSgXPaXDLJOtrV7uOM2PTOiHLlELSXoMOvBK2wGprNcdayoDGJi/RsAkgHsj0Q3wzSAN8JuyQmN/LdCi3cQ0/3WN+rOvIWo5lTRGiTATk7rh5jsk5QLsRnDTOardq5CftGpoQnGzbzyB7ffGhU2uwWV4ttbdOYpllc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H3E5WN4QDJG4RWw7oAFDD0mX1LyKRPExzDCERVQvYQdHDcPT49bPzxywXqHBvIyz50oxYiSmQYcQkAqIcn+brGgqySsz7WFYpARLoXaR+rR0IqwV3Rsbb6o4QrL0njzh7qEOt4WDL+vQNya9RKSz3W+9WRR6gaDAaO4BdRrpvws= Received: by 10.141.196.13 with SMTP id y13mr2880548rvp.1192475027892; Mon, 15 Oct 2007 12:03:47 -0700 (PDT) Received: by 10.35.118.19 with HTTP; Mon, 15 Oct 2007 12:03:47 -0700 (PDT) Message-ID: <666572260710151203y2dd2a757wb584455a7b4a22a9@mail.gmail.com> Date: Mon, 15 Oct 2007 21:03:47 +0200 From: Adrien To: "Orlin Grigorov" Subject: Re: [Caml-list] saving/loading Raw to/from file Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam: no; 0.00; libref:01 caml-list:01 marshal:01 caml:02 module:03 loading:05 nader:05 inria:06 docs:07 i'm:09 file:11 think:13 but:14 ---:17 raw:18 Hi, I'm not an expert in this field but I think the Marshall module do what you want: http://caml.inria.fr/pub/docs/manual-ocaml/libref/Marshal.html --- Adrien Nader