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
In Bytes#append function, limits seems to grow too big.
This is current code with a comment that shows the problem
if (tail == buffers.size) {
buffers = buffers.copyInto(arrayOfNulls(buffers.size *2))
// buffers has now a size = 2 * old size
limits = limits.copyInto(IntArray(buffers.size *2))
// FIXME incorrect ! here limits size = 2 * new buffer size = 4 * old buffer size// should be equal to new buffer size
}
The text was updated successfully, but these errors were encountered:
We're rebooting the kotlinx-io development (see #131), all issues related to the previous versions will be closed. Consider reopening it if the issue remains (or the feature is still missing) in a new version.
In Bytes#append function, limits seems to grow too big.
This is current code with a comment that shows the problem
The text was updated successfully, but these errors were encountered: