# 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://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/93.md)
* [long size();](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/95.md)
* [long seek(long pos, long whence);](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/96.md)
* [long tell();](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1302.md)
* [string gets(long maxsize);](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1576.md)
* [string getz(long pos, long maxsize);](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1427.md)
* [long getc();](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1551.md)
* [long readbytes(vref result, long size, long mf);](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1553.md)
* [void close();](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1570.md)

Instances of this class can be created by calling the [open\_loader\_input](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1571.md) function.

See other IDC [classes](https://github.com/HexRaysSA/docs/blob/main/developer-guide/idc/core-concepts/1577.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/9.0/developer-guide/idc/core-concepts/loader_input_t-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
