From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 7AA20BB83 for ; Tue, 6 Jun 2006 03:21:05 +0200 (CEST) Received: from smtp104.biz.mail.mud.yahoo.com (smtp104.biz.mail.mud.yahoo.com [68.142.200.252]) by nez-perce.inria.fr (8.13.6/8.13.6) with SMTP id k561L4YW002007 for ; Tue, 6 Jun 2006 03:21:05 +0200 Received: (qmail 72635 invoked from network); 6 Jun 2006 01:14:22 -0000 Received: from unknown (HELO ?192.168.0.4?) (sullivan@mayachitra.com@66.14.187.7 with plain) by smtp104.biz.mail.mud.yahoo.com with SMTP; 6 Jun 2006 01:14:22 -0000 Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list@yquem.inria.fr From: Kenneth Sullivan Subject: Marshal layout Date: Mon, 5 Jun 2006 18:14:15 -0700 X-Mailer: Apple Mail (2.750) X-Miltered: at nez-perce with ID 4484D880.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 binary:01 ocaml:01 kenneth:98 marshal:01 marshal:01 parse:02 layout:05 layout:05 i'd:05 file:08 ken:11 reverse:11 fields:11 i've:12 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Hi, I'd like to parse an Ocaml Marshal'ed binary file outside of Ocaml, specifically in C. Where can I find a specification of the Marshal layout, (e.g. the header fields and the like)? I've managed to reverse engineer some of it...but a couple of things remain a mystery. Thanks, Ken Sullivan