[erlang-questions] StringIO?

Robert Virding <>
Sun Jun 3 19:52:21 CEST 2012


An alternative would be to write a string_io_server which could do read/write requests against a string and use it as file descriptor in i/o calls. It is well defined and not that difficult. 

Robert 

----- Original Message -----

> Thank you Bob,

> that looks like it's exactly what I need.

> Thank you,

> r.

> On Wed, May 30, 2012 at 5:25 PM, Bob Ippolito <  >
> wrote:

> > It's undocumented, but there's the ram_file module:
> 

> > https://github.com/erlang/otp/blob/maint/lib/kernel/src/ram_file.erl
> 

> > -bob
> 

> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120603/527955a0/attachment.html>


More information about the erlang-questions mailing list