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

Explicit resource limits applied while reading an untrusted JAR archive. More...

#include <types.hpp>

Public Attributes

std::size_t maximum_entry_uncompressed_size {256U * 1024U * 1024U}
 Maximum inflated bytes accepted for one entry.
 
std::size_t maximum_total_uncompressed_size {1024U * 1024U * 1024U}
 Maximum inflated bytes accepted across the archive.
 

Detailed Description

Explicit resource limits applied while reading an untrusted JAR archive.

Definition at line 306 of file types.hpp.

Member Data Documentation

◆ maximum_entry_uncompressed_size

std::size_t rpnx::cortado::jar_read_options::maximum_entry_uncompressed_size {256U * 1024U * 1024U}

Maximum inflated bytes accepted for one entry.

Definition at line 308 of file types.hpp.

◆ maximum_total_uncompressed_size

std::size_t rpnx::cortado::jar_read_options::maximum_total_uncompressed_size {1024U * 1024U * 1024U}

Maximum inflated bytes accepted across the archive.

Definition at line 309 of file types.hpp.


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