Introduce `CArray.to_string`
An attempt to fix https://github.com/ocamllabs/ocaml-ctypes/issues/572
Used https://github.com/ocamllabs/ocaml-ctypes/pull/562 and https://github.com/ocamllabs/ocaml-ctypes/pull/563 for the reference.
Please fix the documentation to mention whether terminating null bytes are added or chopped off.
Will do, thank you!
@XVilka: are you still planning to work on this?
@yallop yes, sorry, overwhelmed with other things. Will finish it this weekend.
I'm closing this, since it doesn't seem to be going anywhere. @XVilka, please feel free to resubmit if you'd like to pick it up again.