CrImage::DecompressionGuard::Guard
Inherits Reference / Object
Guard tracks decompression progress and enforces limits
Constructors
Instance methods
validate_expected_size(width : Int32, height : Int32, bytes_per_pixel : Int32) : Nil
Validate expected decompressed size against limits Call this when you know the expected size before decompression