declaredSize property

int declaredSize
final

The decompressed content size declared in the frame header.

May be negative: a declared size that overflows the platform's interop representation (64-bit two's-complement on native, 32-bit sign-extension on web) arrives as a negative Dart int, and is still rejected by this exception rather than reaching the allocator.

Implementation

final int declaredSize;