ObjFileval make_id : string -> 'a idval open_in : file:string -> in_handleval close_in : in_handle -> unitval segments : in_handle -> Stdlib.Obj.t segment CString.Map.tval open_out : file:string -> out_handleval close_out : out_handle -> unitval marshal_out_segment : out_handle -> segment:'a id -> 'a -> unitval marshal_out_binary : out_handle -> segment:'a id -> Stdlib.out_channel * (unit -> unit)marshal_out_binary oh segment is a low level, stateful, API returning oc, stop. Once called no other API can be used on the same oh and only Stdlib.output_* APIs should be used on oc. stop () must be invoked in order to signal that all data was written to oc (which should not be used afterwards). Only after calling stop the other API can be used on oh.