Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val create : int -> t
val write_float : t -> string -> float -> unit
val write_string : t -> string -> string -> unit
val write_document_start : t -> string -> unit
val write_document_close : t -> unit
val write_array_start : t -> string -> unit
val write_array_close : t -> unit
val write_binary : t -> string -> Bson2__.S.binary_type -> bytes -> unit
val write_objectid : t -> string -> bytes -> unit
val write_bool : t -> string -> bool -> unit
val write_utc_datetime : t -> string -> int64 -> unit
val write_null : t -> string -> unit
val write_regex : t -> string -> pattern:string -> options:string -> unit
val write_js : t -> string -> string -> unit
val write_js_with_scope : t -> string -> string -> unit
val write_js_with_scope_close : t -> unit
val write_int32 : t -> string -> int32 -> unit
val write_timestamp : t -> string -> int64 -> unit
val write_int64 : t -> string -> int64 -> unit
val write_decimal128 : t -> string -> bytes -> unit
val write_minkey : t -> string -> unit
val write_maxkey : t -> string -> unit
val to_bytes : t -> (bytes, string) Core.Result.t
val to_string : t -> (string, string) Core.Result.t
val to_out_channel : t -> Core.Out_channel.t -> (unit, string) Core.Result.t