generic_linput_t Struct Referenceabstract
Generic linput class - may be used to create a linput_t instance for any data source. More...
#include <diskio.hpp>
Public Member Functions | |
virtual ssize_t idaapi | read (qoff64_t off, void *buffer, size_t nbytes)=0 |
Public Attributes | |
Warning | |
The following two fields must be filled before calling create_generic_linput() | |
uint64 | filesize |
input file size | |
uint32 | blocksize |
preferred block size to work with read/write sizes will be in multiples of this number. More... | |
Detailed Description
Generic linput class - may be used to create a linput_t instance for any data source.
Member Data Documentation
◆ blocksize
uint32 generic_linput_t::blocksize |
preferred block size to work with read/write sizes will be in multiples of this number.
for example, 4096 is a nice value blocksize 0 means that the filesize is unknown. the internal cache will be disabled in this case. also, seeks from the file end will fail. blocksize=-1 means error.
The documentation for this struct was generated from the following file:
Generated by 1.9.3