Module Brotli.Bbuf

type t = {
  1. mutable bytes : Bytesrw.Bytes.t;
  2. mutable size : int;
  3. mutable pos : int;
}
val make_empty : unit -> t
val make : int -> t
val src_is_consumed : t -> bool
val src_rem : t -> int
val src_set_slice : t -> Bytesrw.Bytes.Slice.t -> unit
val src_to_slice_or_eod : t -> Bytesrw.Bytes.Slice.t
val dst_clear : t -> unit
val dst_is_empty : t -> bool
val dst_is_full : t -> bool
val dst_to_slice : t -> Bytesrw.Bytes.Slice.t