03f0466
# ocaml-bin-prot
03f0466
03f0466
[`Bin_prot`](https://github.com/janestreet/bin_prot) contains functionality
03f0466
for reading and writing OCaml values in a type-safe binary protocol.  These
03f0466
functions are extremely efficient and provide users with a convenient and safe
03f0466
way of performing I/O on any extensionally defined data type.  This means that
03f0466
functions, objects, and values whose type is bound through a polymorphic
03f0466
record field are not supported, but everything else is.
03f0466
03f0466
As of now, there is no support for cyclic or shared values.  Cyclic values
03f0466
will lead to non-termination whereas shared values, besides requiring
03f0466
significantly more space when encoded, may lead to a substantial increase in
03f0466
memory footprint when they are read back in.