I/O Devices Communication In Elixir — Tentamen Software Testing Blog

Image for post
Image for post
Elixir IO List

TL;DR

I/O

IO List

  • Binary
  • 0 to 255 Integer
  • IO List

In our example, we created an incremental iodata list with the string “Does mask protect me against COVID-19 virus?” Then we use the IO.write function on that list.

Remember

  • IO module has functions that work with IO lists
  • Adding to IO List is O(1) while adding to the regular list is O(n).

Originally published at https://blog.tentamen.eu on October 15, 2020.

Written by

Founder of Tentamen, software testing agency.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store