Module Std_common.Bigstring_marshal

module Bigstring_marshal: Bigstring_marshal

val marshal_blit : ?flags:Marshal.extern_flags list ->
'a -> ?pos:int -> ?len:int -> Bigstring.t -> int
marshals value _ to the bigstring at most len bytes.
val marshal : ?flags:Marshal.extern_flags list -> 'a -> Bigstring.t
marshals value _ to a new bigstring. This function may need two times more memory than marshal_blit.
val marshal_data_size : ?pos:int -> Bigstring.t -> int
the length of marshalled data in the bigstring
val unmarshal : ?pos:int -> Bigstring.t -> 'a
unmarshals a value from the bigstring and/or returns the index of the byte in the bigstring right after the unmarshalled value.
val unmarshal_next : ?pos:int -> Bigstring.t -> 'a * int
val skip : ?pos:int -> Bigstring.t -> int