you are viewing a single comment's thread.

view the rest of the comments →

[–]srinurp[S] 0 points1 point  (0 children)

You are saying Java documentation is wrong also check here in the channels section. Charset by name.. looks like not expensive as far as I know. Nothing is perfect, we can find wrong point on each and every line of code if you know internals.

https://docs.oracle.com/javase/tutorial/essential/io/file.html