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 RAA19097; Mon, 3 Sep 2001 17:38:57 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 RAA19397 for ; Mon, 3 Sep 2001 17:38:55 +0200 (MET DST) Received: from ux9.sp.cs.cmu.edu (UX9.SP.CS.CMU.EDU [128.2.220.166]) by nez-perce.inria.fr (8.11.1/8.10.0) with SMTP id f83FcpT18996 for ; Mon, 3 Sep 2001 17:38:51 +0200 (MET DST) Received: from c198429-a.ross1.pa.home.com by ux9.sp.cs.cmu.edu id aa02546; 3 Sep 2001 11:38 EDT Message-ID: <3B93A3F0.6B2B14E8@cmu.edu> Date: Mon, 03 Sep 2001 11:38:24 -0400 From: "Eric C. Cooper" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9 i686) X-Accept-Language: en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Bigarray I/O and block copy functions? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm looking for a Bigarray equivalent of Pervasives.output, so that I can write a subrange of a Bigarray (specified by offset and length) to a channel. Before I hack an external C function for this, has anyone done it already? Other natural operations that would be useful: - input from a channel into a specified subrange of a Bigarray - blit between Bigarrays and strings (both directions) I'm only using 1-dimensional arrays of 8-bit elements, but the above operations also make sense in (some) more general cases. Eric Cooper ecc@cmu.edu ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr