capnp-ocaml icon indicating copy to clipboard operation
capnp-ocaml copied to clipboard

Using Bigarray as message storage

Open andreas opened this issue 6 years ago • 5 comments

The README mentions using Bigarray as message storage, but I haven't been able to find any examples in this repo or elsewhere. I've implemented a module using Bigstring which satisfies Capnp.MessageSig.S, but it's still not clear to me how to serialize/unserialize in a zero-copy fashion, e.g. using Writer and Reader from Async. If you can point to any examples of using Capnp with Bigarray, I would appreciate it.

Thanks 🙏

andreas avatar Jan 14 '18 19:01 andreas