Up

Module Message

Signature

type t =
| String of string
| Bigstring of Core.Std.Bigstring.t
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
val length : t -> int

None is returned in cases where the message cannot fit into a string (original message was a very large Bigstring

val to_string : t -> string option

None is returned in cases where the message cannot fit into a string (original message was a very large Bigstring

val to_string_exn : t -> string
val to_bigstring : t -> Core.Std.Bigstring.t