Module Unpack.Window

A Window. It consists to keep an 1 megabyte area of a PACK file.

type t = {
raw : Cstruct.t;
off : int64;
len : int;
}

The type of the window.

val inside : int64 -> t -> bool

inside off t checks if the offset off is available inside in ŧ.

val pp : t Fmt.t

Pretty-printer of t.