Module Slice

type 'buf t = private {
  1. buf : 'buf;
  2. off : int;
  3. len : int;
}
val unsafe_make : off:int -> len:int -> 'buf -> 'buf t
val pp : Format.formatter -> 'a t -> unit
val length : 'a t -> int
val sub : 'a t -> off:int -> len:int -> 'a t
val shift : 'a t -> int -> 'a t
val is_empty : 'a t -> bool
module type R = sig ... end
module type W = sig ... end