Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Bigarray I/O and block copy functions?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric C. Cooper <ecc@c...>
Subject: [Caml-list] Bigarray I/O and block copy functions?
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