[Proposal] File.position | File.pread - Read from custom position/line

24 views
Skip to first unread message

Bagu Alexandru Bogdan

unread,
May 17, 2017, 4:30:59 AM5/17/17
to elixir-lang-core
Hi,

I want to implement the following scenarios:
1. a file reader that will read from custom position to a given length
2. read the entire file from line 2 for example

Is it possible to add position link ) and preadlink ) to File module ?

José Valim

unread,
May 17, 2017, 4:32:57 AM5/17/17
to elixir-l...@googlegroups.com
You can directly use the Erlang API for those cases.



José Valim
Skype: jv.ptec
Founder and Director of R&D

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/226f5dd4-4cb2-46b5-935d-1b8e6b2f8675%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexandru Bâgu

unread,
May 17, 2017, 4:33:55 AM5/17/17
to elixir-l...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages