octet_generator_t Struct Reference
Get 8 bits of the program at 'ea'. More...
#include <bytes.hpp>
Public Member Functions | |
octet_generator_t (ea_t _ea) | |
void | invert_byte_order () |
if (avail_bits< r.avail_bits) return 1 | |
if (avail_bits > r.avail_bits) return -1 | |
Public Attributes | |
uint64 | value = 0 |
ea_t | ea |
int | avail_bits = 0 |
bool | high_byte_first = inf_is_wide_high_byte_first() |
return | |
Detailed Description
Get 8 bits of the program at 'ea'.
The main usage of this function is to iterate range of bytes. Here is an example:
octet_generator_t ogen(ea);
for ( ... )
{
if ( !get_octet2(&byte, &ogen) )
failed to read an octet
else
success
}
The documentation for this struct was generated from the following file:
Generated by 1.9.3