LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::Uint24 Struct Reference

An auxiliary type to facilitate extraction of 3-byte entities. More...

#include "llvm/Support/DataExtractor.h"

Public Member Functions

 Uint24 (uint8_t U)
 
 Uint24 (uint8_t U0, uint8_t U1, uint8_t U2)
 
uint32_t getAsUint32 (bool IsLittleEndian) const
 

Public Attributes

uint8_t Bytes [3]
 

Detailed Description

An auxiliary type to facilitate extraction of 3-byte entities.

Definition at line 19 of file DataExtractor.h.

Constructor & Destructor Documentation

◆ Uint24() [1/2]

llvm::Uint24::Uint24 ( uint8_t  U)
inline

Definition at line 21 of file DataExtractor.h.

References Bytes.

◆ Uint24() [2/2]

llvm::Uint24::Uint24 ( uint8_t  U0,
uint8_t  U1,
uint8_t  U2 
)
inline

Definition at line 24 of file DataExtractor.h.

References Bytes.

Member Function Documentation

◆ getAsUint32()

uint32_t llvm::Uint24::getAsUint32 ( bool  IsLittleEndian) const
inline

Definition at line 27 of file DataExtractor.h.

References Bytes.

Referenced by llvm::DataExtractor::getU24().

Member Data Documentation

◆ Bytes

uint8_t llvm::Uint24::Bytes[3]

Definition at line 20 of file DataExtractor.h.

Referenced by getAsUint32(), and Uint24().


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