This is a C plugin for [Cap'n Proto](http://kentonv.github.io/capnproto), an
efficient protocol for sharing data and capabilities.
This uses the capn_deflate function. The current use may get smaller packing than the maximum possible due to the inability to peak around segments as it packs each segment on its own. This saves time compared to copying everything into one place and saves effort by not requiring to change the interface of capn_deflate to support multiple different buffers. It should be possible to make the capn_deflate state machine better to handle the multiple buffers case too. |
||
|---|---|---|
| compiler | ||
| gtest | ||
| .gitignore | ||
| capn-list.inc | ||
| capn-malloc.c | ||
| capn-stream-test.cpp | ||
| capn-stream.c | ||
| capn-test.cpp | ||
| capn.c | ||
| capn.h | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
capnpc-c
This is a C plugin for cap'n'proto aka capnp.
This is only the plugin, to properly make use of it you need to download, build and install capnpc and then build and install this project and then you can utilize it as:
capnpc compiler/test.capnp -oc