package carton

  1. Overview
  2. Docs

Module Carton.BlobSource

The Blob is a tuple of temporary buffers used to store an object that has been decompressed or reconstructed using a patch and a source.

The purpose of a Blob is to prepare the allocation of what is needed to store the object and (re)use this Blob throughout the reconstruction of the object (whether it's a base or a patch) in order to obtain the final object.

Sourcetype t

The type of blobs.

Sourceval make : size:Size.t -> t
Sourceval of_string : string -> t
Sourceval size : t -> Size.t
Sourceval source : t -> De.bigstring
Sourceval with_source : t -> source:De.bigstring -> t
Sourceval payload : t -> De.bigstring
Sourceval flip : t -> t
OCaml

Innovation. Community. Security.