#include <ResourceIcon.hpp>
|
template<class T > |
using | output_t = add_pointer_t<decay_t<T>> |
|
template<class T > |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
|
◆ ResourceIcon() [1/5]
LIEF::PE::ResourceIcon::ResourceIcon |
( |
| ) |
|
|
default |
◆ ResourceIcon() [2/5]
LIEF::PE::ResourceIcon::ResourceIcon |
( |
const details::pe_resource_icon_group & | header | ) |
|
◆ ResourceIcon() [3/5]
LIEF::PE::ResourceIcon::ResourceIcon |
( |
const details::pe_icon_header & | header | ) |
|
◆ ResourceIcon() [4/5]
LIEF::PE::ResourceIcon::ResourceIcon |
( |
const ResourceIcon & | | ) |
|
|
default |
◆ ResourceIcon() [5/5]
◆ ~ResourceIcon()
LIEF::PE::ResourceIcon::~ResourceIcon |
( |
| ) |
|
|
overridedefault |
◆ accept()
void LIEF::PE::ResourceIcon::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ bit_count() [1/2]
uint16_t LIEF::PE::ResourceIcon::bit_count |
( |
| ) |
const |
|
inline |
◆ bit_count() [2/2]
void LIEF::PE::ResourceIcon::bit_count |
( |
uint16_t | bit_count | ) |
|
|
inline |
◆ color_count() [1/2]
uint8_t LIEF::PE::ResourceIcon::color_count |
( |
| ) |
const |
|
inline |
Number of colors in image (0 if >=8bpp)
◆ color_count() [2/2]
void LIEF::PE::ResourceIcon::color_count |
( |
uint8_t | color_count | ) |
|
|
inline |
◆ from_bytes()
◆ from_serialization() [1/2]
static result< ResourceIcon > LIEF::PE::ResourceIcon::from_serialization |
( |
const std::vector< uint8_t > & | bytes | ) |
|
|
inlinestatic |
◆ from_serialization() [2/2]
static result< ResourceIcon > LIEF::PE::ResourceIcon::from_serialization |
( |
const uint8_t * | buffer, |
|
|
size_t | size ) |
|
static |
◆ height() [1/2]
uint8_t LIEF::PE::ResourceIcon::height |
( |
| ) |
const |
|
inline |
Height in pixels of the image.
◆ height() [2/2]
void LIEF::PE::ResourceIcon::height |
( |
uint8_t | height | ) |
|
|
inline |
◆ id() [1/2]
uint32_t LIEF::PE::ResourceIcon::id |
( |
| ) |
const |
|
inline |
Id associated with the icon.
◆ id() [2/2]
void LIEF::PE::ResourceIcon::id |
( |
uint32_t | id | ) |
|
|
inline |
◆ lang() [1/2]
uint32_t LIEF::PE::ResourceIcon::lang |
( |
| ) |
const |
|
inline |
Language associated with the icon.
◆ lang() [2/2]
void LIEF::PE::ResourceIcon::lang |
( |
uint32_t | lang | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pixels() [1/2]
span< const uint8_t > LIEF::PE::ResourceIcon::pixels |
( |
| ) |
const |
|
inline |
Pixels of the image (as bytes)
◆ pixels() [2/2]
void LIEF::PE::ResourceIcon::pixels |
( |
std::vector< uint8_t > | pixels | ) |
|
|
inline |
◆ planes() [1/2]
uint16_t LIEF::PE::ResourceIcon::planes |
( |
| ) |
const |
|
inline |
◆ planes() [2/2]
void LIEF::PE::ResourceIcon::planes |
( |
uint16_t | planes | ) |
|
|
inline |
◆ reserved() [1/2]
uint8_t LIEF::PE::ResourceIcon::reserved |
( |
| ) |
const |
|
inline |
◆ reserved() [2/2]
void LIEF::PE::ResourceIcon::reserved |
( |
uint8_t | reserved | ) |
|
|
inline |
◆ save()
void LIEF::PE::ResourceIcon::save |
( |
const std::string & | filename | ) |
const |
Save the icon to the given filename.
- Parameters
-
[in] | filename | Path to file in which the icon will be saved |
◆ serialize()
std::vector< uint8_t > LIEF::PE::ResourceIcon::serialize |
( |
| ) |
const |
◆ size()
uint32_t LIEF::PE::ResourceIcon::size |
( |
| ) |
const |
|
inline |
Size in bytes of the image.
◆ sublang() [1/2]
uint32_t LIEF::PE::ResourceIcon::sublang |
( |
| ) |
const |
|
inline |
Sub language associated with the icon.
◆ sublang() [2/2]
void LIEF::PE::ResourceIcon::sublang |
( |
uint32_t | sublang | ) |
|
|
inline |
◆ width() [1/2]
uint8_t LIEF::PE::ResourceIcon::width |
( |
| ) |
const |
|
inline |
Width in pixels of the image.
◆ width() [2/2]
void LIEF::PE::ResourceIcon::width |
( |
uint8_t | width | ) |
|
|
inline |
The documentation for this class was generated from the following file: