RPNXCortado
C++23 JVM class-file, bytecode, validation, and JAR toolkit
Loading...
Searching...
No Matches
rpnx::cortado::utf8_constant Struct Reference

A CONSTANT_Utf8 entry. More...

#include <types.hpp>

Public Attributes

std::string bytes
 Exact modified UTF-8 bytes, without the wire length prefix.
 

Static Public Attributes

static constexpr constant_pool_tag tag = constant_pool_tag::utf8
 Wire tag for this entry type.
 
static constexpr std::size_t slot_count = 1
 Number of logical constant-pool slots occupied.
 

Detailed Description

A CONSTANT_Utf8 entry.

Bytes are preserved as modified UTF-8 without transcoding.

Definition at line 85 of file types.hpp.

Member Data Documentation

◆ bytes

std::string rpnx::cortado::utf8_constant::bytes

Exact modified UTF-8 bytes, without the wire length prefix.

Definition at line 89 of file types.hpp.

◆ slot_count

std::size_t rpnx::cortado::utf8_constant::slot_count = 1
staticconstexpr

Number of logical constant-pool slots occupied.

Definition at line 88 of file types.hpp.

◆ tag

constant_pool_tag rpnx::cortado::utf8_constant::tag = constant_pool_tag::utf8
staticconstexpr

Wire tag for this entry type.

Definition at line 87 of file types.hpp.


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