Skip to content

mruby-esp32/mruby-io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-io

IO class for mruby on ESP32, compatible with ESP-IDF version 5 and mruby 3.2.

This gem is a modified subset of the core mruby-io gem, from mruby 3.2.0. The File class from the gem, also modified for ESP32, is separately implemented here.

Installation

Add the line below to your build_config.rb:

  conf.gem :github => 'mruby-esp32/mruby-io', :branch => '0.5'

Implemented methods

IO

method mruby-io memo
IO.binread
IO.binwrite
IO.copy_stream
IO.new, IO.for_fd, IO.open o
IO.foreach
IO.pipe - not supported on ESP32
IO.popen - not supported on ESP32
IO.read o
IO.readlines
IO.select - not supported on ESP32
IO.sysopen o
IO.try_convert
IO.write
IO#<<
IO#advise
IO#autoclose=
IO#autoclose?
IO#binmode
IO#binmode?
IO#bytes obsolete
IO#chars obsolete
IO#clone, IO#dup o
IO#close o
IO#close_on_exec= o
IO#close_on_exec? o
IO#close_read
IO#close_write
IO#closed? o
IO#codepoints obsolete
IO#each_byte o
IO#each_char o
IO#each_codepoint
IO#each_line o
IO#eof, IO#eof? o
IO#external_encoding
IO#fcntl
IO#fdatasync
IO#fileno, IO#to_i o
IO#flush o
IO#fsync
IO#getbyte o
IO#getc o
IO#gets o
IO#internal_encoding
IO#ioctl
IO#isatty, IO#tty? o
IO#lineno
IO#lineno=
IO#lines obsolete
IO#pid o
IO#pos, IO#tell o
IO#pos= o
IO#print o
IO#printf o
IO#putc
IO#puts o
IO#read o
IO#read_nonblock
IO#readbyte o
IO#readchar o
IO#readline o
IO#readlines o
IO#readpartial
IO#reopen
IO#rewind
IO#seek o
IO#set_encoding
IO#stat
IO#sync o
IO#sync= o
IO#sysread o
IO#sysseek o
IO#syswrite o
IO#to_io
IO#ungetbyte o
IO#ungetc o
IO#write o
IO#write_nonblock

About

IO class for mruby-esp32

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.3%
  • Ruby 20.7%