From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA24737 for caml-redistribution; Fri, 20 Nov 1998 09:37:25 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id GAA07010 for ; Fri, 20 Nov 1998 06:07:09 +0100 (MET) Received: from hadar.cs.Buffalo.EDU (hadar.cs.Buffalo.EDU [128.205.32.1]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id GAA05687 for ; Fri, 20 Nov 1998 06:07:07 +0100 (MET) Received: (from whitley@localhost) by hadar.cs.Buffalo.EDU (8.8.8/8.8.5) id AAA15519; Fri, 20 Nov 1998 00:07:07 -0500 (EST) From: John Whitley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 20 Nov 1998 00:07:07 -0500 (EST) To: caml-list@inria.fr Subject: Binary file I/O X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13907.9032.867059.29471@pollux.cs.Buffalo.EDU> Sender: weis I am about to implement a wavelet-based audio compression algorithm, part of my Ph.D. research, in OCaml. To this end, I must read and write binary data streams representing the input digital audio and the output compressed audio stream. Is there a standard way of handling binary file I/O in OCaml, or must I resort to handling input and output bitstream formatting in C? Thanks, John Whitley