Up

Module Header

Binary headers containing message lengths. All transports should use this to ensure binary compatibility.

Signature

val length : int
val unsafe_get_payload_length : Core_kernel.Std.Bigstring.t -> pos:int -> int
val unsafe_set_payload_length : Core_kernel.Std.Bigstring.t -> pos:int -> int -> unit