You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both cases, we are attempting to decode or encode something that wouldn't fit the target buffer size, however the decoder is able to partially fill the buffer, where the encoder just does nothing.
If the buffer size is big enough, both work normally.
Is this behavior expected ?
The text was updated successfully, but these errors were encountered:
Please help me understand whether the difference in behavior between Encoder and Decoder is intentional or not. Consider the following code :
Here is the output :
In both cases, we are attempting to decode or encode something that wouldn't fit the target buffer size, however the decoder is able to partially fill the buffer, where the encoder just does nothing.
If the buffer size is big enough, both work normally.
Is this behavior expected ?
The text was updated successfully, but these errors were encountered: