Strange behaviour of java.nio.charset.StandardCharsets.UTF8.newDecoder()
Pavel Rappo
pavel.rappo at oracle.com
Fri Mar 18 18:38:31 UTC 2016
Why is that? I don't think I have to supply only "correct" chunks. After all,
decoders are free to maintain an internal state needed for this.
> On 18 Mar 2016, at 18:31, Martin Buchholz <martinrb at google.com> wrote:
>
> trying to decode one byte at a time, which cannot
> work? The minimum unit to decode that will work is 4 bytes
More information about the nio-dev
mailing list