From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA20851; Sat, 23 Feb 2002 19:22:57 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA21216 for caml-list@pauillac.inria.fr; Sat, 23 Feb 2002 19:22:57 +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 BAA03353 for ; Tue, 19 Feb 2002 01:54:39 +0100 (MET) Received: from zurich.ai.mit.edu (zurich.ai.mit.edu [18.43.0.244]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g1J0scD04277 for ; Tue, 19 Feb 2002 01:54:38 +0100 (MET) Received: from neuchatel.ai.mit.edu (neuchatel.ai.mit.edu [18.43.0.29]) by zurich.ai.mit.edu (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id TAA16361 for ; Mon, 18 Feb 2002 19:54:33 -0500 Received: from attila by neuchatel.ai.mit.edu with local-esmtp (Exim 3.12 #1 (Debian)) id 16cyYC-0003i7-00; Mon, 18 Feb 2002 19:54:32 -0500 Date: Mon, 18 Feb 2002 19:54:32 -0500 (EST) From: Attila Kondacs X-Sender: attila@neuchatel.ai.mit.edu To: caml-list@inria.fr Subject: [Caml-list] reading/converting little endian Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I wonder if there is a way to read or convert little endian numbers in ocaml. I am trying to write an interface to WAV audio files, and their headers contain vital little endian numbers (as well as some big endian characters)... thanks Attila Kondacs ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners