KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KUNAI::DEX::EncodedArray Class Reference

Information of an array with encoded values. More...

#include <encoded.hpp>

Public Member Functions

 EncodedArray ()=default
 Constructor of the encoded array.
 
 ~EncodedArray ()=default
 Destructor of encoded array.
 
void parse_encoded_array (stream::KunaiStream *stream, Types *types, Strings *strings)
 Parse the encoded Array.
 
std::uint64_t get_array_size () const
 get the size of the array
 
const std::vector< encodedvalue_t > & get_values () const
 Get constant reference to encoded values.
 
std::vector< encodedvalue_t > & get_values ()
 Get a reference to encoded values.
 

Detailed Description

Information of an array with encoded values.

Member Function Documentation

◆ get_array_size()

std::uint64_t KUNAI::DEX::EncodedArray::get_array_size ( ) const
inline

get the size of the array

Returns
size of the array

◆ get_values() [1/2]

std::vector< encodedvalue_t > & KUNAI::DEX::EncodedArray::get_values ( )
inline

Get a reference to encoded values.

Returns
reference to encoded values

◆ get_values() [2/2]

const std::vector< encodedvalue_t > & KUNAI::DEX::EncodedArray::get_values ( ) const
inline

Get constant reference to encoded values.

Returns
constant reference to encoded values

◆ parse_encoded_array()

void KUNAI::DEX::EncodedArray::parse_encoded_array ( stream::KunaiStream stream,
Types types,
Strings strings 
)

Parse the encoded Array.

Parameters
streamstream where to read data
typesobject with types for parsing encoded array
stringsobject with strings for parsing encoded array

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