Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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
Bug reports:  FAQ:
To unsubscribe, mail  Archives: