# loader\_input\_t class

The loader\_input\_t class can read from input files. It has the following methods:

* [long read(vref buf, long size);](https://idc.docs.hex-rays.com/loader_input_t_read.html)
* [long size();](https://idc.docs.hex-rays.com/loader_input_t_size.html)
* [long seek(long pos, long whence);](https://idc.docs.hex-rays.com/loader_input_t_seek.html)
* [long tell();](https://idc.docs.hex-rays.com/loader_input_t_tell.html)
* [string gets(long maxsize);](https://idc.docs.hex-rays.com/loader_input_t_gets.html)
* [string getz(long pos, long maxsize);](https://idc.docs.hex-rays.com/loader_input_t_getz.html)
* [long getc();](https://idc.docs.hex-rays.com/loader_input_t_getc.html)
* [long readbytes(vref result, long size, long mf);](https://idc.docs.hex-rays.com/loader_input_t_readbytes.html)
* [void close();](https://idc.docs.hex-rays.com/loader_input_t_close.html)

Instances of this class can be created by calling the [open\_loader\_input](https://idc.docs.hex-rays.com/open_loader_input.html) function.

See other IDC [classes](https://docs.hex-rays.com/developer-guide/idc/core-concepts/classes).
