mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
We were decrementing the "remaining" field twice for each byte read using the no-arg read method, which resulted in available() returning a value that was too small.