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

Issue with copy in method Read. #20

Closed
cn007b opened this issue Nov 25, 2019 · 1 comment
Closed

Issue with copy in method Read. #20

cn007b opened this issue Nov 25, 2019 · 1 comment

Comments

@cn007b
Copy link

cn007b commented Nov 25, 2019

Got issue here because in my case bytesJSON has 790 bytes but viper uses default bytes.Buffer with MinRead = 512 and io.EOF on line 44 means that my JSON will be corrupted. So looks like Read must be implemented in better way...

@geototti21
Copy link
Member

fixed by #23

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