https://github.com/vaci/capnproto-java-rpc rebased on top of capnproto-java master branch
4ec14e39f9
Previously, we were attempting to read the entire message in one call to fillBuffer(). This was doomed to fail if the message had more than Integer.MAX_VALUE bytes. After this diff, we will call fillBuffer() separately for each segment. This approach turns out to be simpler, too. It might imply a small performance hit for messages with many small segments, but such messages are discouraged anyway. This diff also adds more overflow checking in the surrounding logic. |
||
---|---|---|
.github/workflows | ||
benchmark | ||
cmake | ||
compiler | ||
examples | ||
runtime | ||
website | ||
.gitignore | ||
CONTRIBUTORS | ||
do_benchmarks.bash | ||
LICENSE | ||
Makefile | ||
pom.xml | ||
README.md | ||
RELEASE-PROCESS.md |
capnproto-java: Cap'n Proto for Java
Cap'n Proto is an extremely efficient protocol for sharing data and capabilities, and capnproto-java is a pure Java implementation.