Module Rpc_util

module Rpc_util: sig .. end

Utility functions


type verbosity = [ `Name_abbrev_args | `Name_full_args | `Name_only ] 

How verbose the RPC ftrace is:

val string_of_request : verbosity -> Rpc_program.t -> string -> Netxdr.xdr_value -> string

Return the string representation of this call request

val string_of_response : verbosity -> Rpc_program.t -> string -> Netxdr.xdr_value -> string

Return the string representation of this call response

val string_of_value : Netxdr.xdr_type_term -> Netxdr.xdr_value -> string

Return a string representation of the value which must have the passed type

val hex_dump_m : Netsys_mem.memory -> int -> int -> string
val hex_dump_b : Stdlib.Bytes.t -> int -> int -> string

Format the contents as hex sequence