package rfc1951

  1. Overview
  2. Docs

Module Rfc1951.QueueSource

Sourcetype cmd = int
Sourcetype t = {
  1. buf : buf;
  2. mutable w : int;
  3. mutable r : int;
  4. mutable c : int;
}
Sourceval mask : t -> int -> int
Sourceval empty : t -> bool
Sourceval size : t -> int
Sourceval available : t -> int
Sourceval full : t -> bool
Sourceval length : t -> int
Sourceval is_empty : t -> bool
Sourceval is_full : t -> bool
Sourceval unsafe_get : buf -> int -> int
Sourceval unsafe_set : buf -> int -> int -> unit
Sourceexception Full
Sourceexception Empty
Sourceval push_exn : t -> int -> unit
Sourceval pop_exn : t -> int
Sourceval peek_exn : t -> int
Sourceval unsafe_junk : t -> unit
Sourceval junk_exn : t -> int -> unit
Sourceval copy : off:int -> len:int -> cmd
Sourceval literal : char -> int
Sourceval eob : int
Sourceval cmd : [< `Copy of int * int | `End | `Literal of char ] -> cmd
Sourceval code : int -> [> `Copy of int * int | `End | `Literal of char ]
Sourceval blit : t -> bigstring -> int -> int -> unit
Sourceval create : int -> t
Sourceval reset : t -> unit
Sourceval to_list : t -> [> `Copy of int * int | `End | `Literal of char ] list
Sourceval (<.>) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
Sourceval of_list : [< `Copy of int * int | `End | `Literal of char ] list -> t
OCaml

Innovation. Community. Security.