We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Compat version of IOBuffer does not seem to be working properly on 0.6. If I do
Compat
IOBuffer
b = IOBuffer(zeros(UInt8, 4), write=true) write(b, 'a') take!(b)
On the last line on 0.7 I get simply [0x61] (expected behavior). On 0.6 however I get the entire buffer: [0x61,0x00,0x00,0x00].
[0x61]
[0x61,0x00,0x00,0x00]
The problem is even worse if you do IOBuffer(maxsize=4, write=true) in which case in 0.6 all the values of an uninitialized array are returned.
IOBuffer(maxsize=4, write=true)
Perhaps this line is calling the wrong function?
The text was updated successfully, but these errors were encountered:
I think #501 is buggy, as I mentioned at the end of that PR...
Sorry, something went wrong.
I'm preparing a PR to fix IOBuffer, including this issue.
This was resolved by #504.
No branches or pull requests
The
Compat
version ofIOBuffer
does not seem to be working properly on 0.6. If I doOn the last line on 0.7 I get simply
[0x61]
(expected behavior). On 0.6 however I get the entire buffer:[0x61,0x00,0x00,0x00]
.The problem is even worse if you do
IOBuffer(maxsize=4, write=true)
in which case in 0.6 all the values of an uninitialized array are returned.Perhaps this line is calling the wrong function?
The text was updated successfully, but these errors were encountered: