From: "Eric C. Cooper" <ecc@cmu.edu>
To: caml-list@inria.fr
Subject: [Caml-list] Bigarray I/O and block copy functions?
Date: Mon, 03 Sep 2001 11:38:24 -0400 [thread overview]
Message-ID: <3B93A3F0.6B2B14E8@cmu.edu> (raw)
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
reply other threads:[~2001-09-03 15:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B93A3F0.6B2B14E8@cmu.edu \
--to=ecc@cmu.edu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox