Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't reading from bytes throw an exception? #322

Open
waagnermann opened this issue Aug 15, 2024 · 1 comment
Open

Doesn't reading from bytes throw an exception? #322

waagnermann opened this issue Aug 15, 2024 · 1 comment

Comments

@waagnermann
Copy link

Hey!
If i invoke this method with wrong Codec, won't it throw in exception?
if data was encoded not with DEFAULT_ENCODING (that's used in scala-csv)

@tototoshi
Copy link
Owner

Hi @waagnermann

This library is not specifically designed to check for incorrect codecs. However, an exception is likely to occur. The method in question takes a Source as an argument, and if the codec is incorrect, the processing by Source will throw an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants