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
{{ message }}
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.
When ARIFetch receives a full read-buffer (4096 bytes), it sometimes stops. This is because the read() might end within an UTF-8 sequence (the UTF-8 decoding will fail and the non-optional withCString will just abort).
Solution: I think we need to check the buffer some bytes backwards for an UTF-8 marker, and then concatenate the results until something valid is constructed.
Or for the demo, we just build one big byte buffer, and then log it.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When ARIFetch receives a full read-buffer (4096 bytes), it sometimes stops. This is because the read() might end within an UTF-8 sequence (the UTF-8 decoding will fail and the non-optional withCString will just abort).
Solution: I think we need to check the buffer some bytes backwards for an UTF-8 marker, and then concatenate the results until something valid is constructed.
Or for the demo, we just build one big byte buffer, and then log it.
The text was updated successfully, but these errors were encountered: