Resolves the max asset size for a Reader from a Context's SDK config.
Reader
Context
Unlike validateAssetSize, an explicit 0 is rejected instead of falling back to DEFAULT_MAX_SIZE_IN_BYTES, since the caller asked for a specific limit.
0
SDK config from a Context, if any.
The platform's limit, used when maxSizeInBytes is unset.
maxSizeInBytes
The limit to pass to validateAssetSize.
If the configured maxSizeInBytes isn't a finite, positive number.
Resolves the max asset size for a
Readerfrom aContext's SDK config.Unlike validateAssetSize, an explicit
0is rejected instead of falling back to DEFAULT_MAX_SIZE_IN_BYTES, since the caller asked for a specific limit.