| IDA SDK

Public Attributes | Public Member Functions | List of all members
octet_generator_t Struct Reference

## 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_octet(&byte, &ogen) )
failed to read an octet
else
success
}
octet_generator_t
Get 8 bits of the program at 'ea'.
Definition: bytes.hpp:437

## Public Attributes
uint64 | value = 0
ea_t | ea
int | avail_bits = 0
bool | high_byte_first = inf_is_wide_high_byte_first()
| return

## 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

The documentation for this struct was generated from the following file:

- bytes.hpp