On 9/10/07, Stephen Compall <[EMAIL PROTECTED]> wrote: > On Mon, 2007-09-10 at 12:25 -0700, Luigi Semenzato wrote: > > I would like to move binary data between two guile > > applications across a pipe (opened with open-input-output-pipe). > > Read-char and write-char in a loop are going to be too slow. > > Read-string!/partial and write-string/partial are exactly what > > I need but they only work on file ports. (I get this error: > > Wrong type argument in position 2 (expecting open file port): > > #<input-output: soft 56f1d0>). > > > > 1. Do I have other choices? I cannot find any. > > How about display? > > -- Scheme Procedure: display obj [port] > Send a representation of OBJ to PORT or to the current output port > if not given. > > The output is designed for human readability, it differs from > `write' in that strings are printed without doublequotes and > escapes, and characters are printed as per `write-char', not in > `#\' form.
That's cool for writing, thanks. But what about reading? _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user