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

readCoilsAsync要求讀取數量少于實際讀到的數量時報錯 #15

Open
zhizhico opened this issue Jan 31, 2023 · 0 comments
Open

Comments

@zhizhico
Copy link

sender.readCoilsAsync(startAddress, quantityOfCoils);
要求讀取數量少于實際讀到的數量時報錯如下:

java.lang.IndexOutOfBoundsException: readerIndex(2) + length(9) exceeds writerIndex(3): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 2, widx: 3, cap: 11)

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

1 participant