Snark_keys_headerThe string that preceeds the JSON header, to identify the file kind before attempting to parse it.
module UInt64 : sig ... endmodule Kind : sig ... endmodule Constraint_constants : sig ... endmodule Commits : sig ... endtype t = {header_version : int; |
kind : Kind.t; |
constraint_constants : Constraint_constants.t; |
commits : Commits.t; |
length : int; |
commit_date : string; |
constraint_system_hash : string; |
identifying_hash : string; |
}Header contents
val to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval write_with_header :
expected_max_size_log2:int ->
append_data:( Base.string -> 'a ) ->
t ->
Base.string ->
Base.unitval read_with_header :
read_data:( offset:int -> Base.string -> 'a ) ->
Base.string ->
(t * 'b) Core_kernel.Or_error.t