package GuaCaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type data = {
  1. mutable free : bool;
  2. mutable pos : int;
  3. mutable meta : (string -> unit) option;
}
val data : unit -> data
type file_channel = {
  1. mutable pos : int;
  2. mutable buf : char;
  3. cha : Stdlib.in_channel;
}
type file = unit
type barray = unit
module BA = BTools_BArray
type channel_type =
  1. | File of file_channel
  2. | BArray of int Stdlib.ref * BA.t
  3. | Spy of bool -> unit * channel
and channel = data * channel_type
type t = channel
val get_pos : channel -> int
val set_meta : channel -> (string -> unit) -> unit
val prn_meta : channel -> string -> unit
val lock : channel -> unit
val unlock : channel -> unit
val ppos : ?s:string -> channel -> unit
val mpos : ?s:string -> channel -> unit
val open_spy : (bool -> unit) -> channel -> channel
val close_spy : (data * channel_type) -> unit
val open_flush : ?cha:Stdlib.out_channel -> channel -> channel
val close_flush : (data * channel_type) -> unit
val open_file : string -> channel
val close_file : channel -> unit
val open_barray : BA.t -> channel
val close_barray : channel -> unit
exception End_of_OfBStream of string