Module Decompress_deflate.GzipSource
Sourcetype ('i, 'o) t = {d : ('i, 'o) RFC1951.t;z : ('i, 'o) state;text : bool;crc16 : Optint.t option;name : string option;mtime : int;os : OS.t;
} Sourceand ('i, 'o) state = | Deflate| Crc32 of ('i, 'o) k| Size of ('i, 'o) k| Finish| Exception of error
Sourceand ('i, 'o) res = | Cont of ('i, 'o) t| Wait of ('i, 'o) t| Flush of ('i, 'o) t| Ok of ('i, 'o) t| Error of ('i, 'o) t * error
Sourceval put_byte :
ctor:
(('a -> ([< `Rd | `Wr Wr ] as 'b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
('d, 'c) state) ->
int ->
('a -> ('b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
'a ->
('b, 'c) Safe.t ->
('d, 'c) t ->
('d, 'c) res Sourceval put_short_lsb :
ctor:
(('a -> ([< `Rd | `Wr Wr ] as 'b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
('d, 'c) state) ->
int ->
('a -> ('b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
'a ->
('b, 'c) Safe.t ->
('d, 'c) t ->
('d, 'c) res Sourceval put_string :
ctor:
(('a -> ([< `Rd | `Wr Wr ] as 'b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
('d, 'c) state) ->
string ->
('a -> ('b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
'a ->
('b, 'c) Safe.t ->
('d, 'c) t ->
('d, 'c) res Sourceval align :
ctor:
(('a -> ([< `Rd | `Wr Wr ] as 'b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
('d, 'c) state) ->
('a -> ('b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
'a ->
('b, 'c) Safe.t ->
('d, 'c) t ->
('d, 'c) res Sourceval put_short_msb :
ctor:
(('a -> ([< `Rd | `Wr Wr ] as 'b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
('d, 'c) state) ->
int ->
('a -> ('b, 'c) Safe.t -> ('d, 'c) t -> ('d, 'c) res) ->
'a ->
('b, 'c) Safe.t ->
('d, 'c) t ->
('d, 'c) res Sourceval digest_crc16_byte : int -> Checkseum.Crc32.t -> Checkseum.Crc32.t Sourceval digest_crc16_string : String.t -> Checkseum.Crc32.t -> Checkseum.Crc32.t Sourceval nop : ('a -> 'b -> 'c -> 'd) -> 'a -> 'b -> 'c -> 'd Sourceval eval :
'a ->
'a ->
('a, 'a) t ->
[> `Await of ('a, 'a) t
| `End of ('a, 'a) t
| `Error of ('a, 'a) t * error
| `Flush of ('a, 'a) t ] Sourceval default :
witness:'a Safe.Buffer.t ->
?text:bool ->
?header_crc:bool ->
?extra:string ->
?name:string ->
?comment:string ->
?mtime:int ->
?os:OS.t ->
int ->
('a, 'a) t Sourceval set_frequencies :
?paranoid:bool ->
(int array * int array) ->
('a, 'b) t ->
('a, 'b) t Sourceval finish : ('a, 'a) t -> ('a, 'a) t Sourceval no_flush : int -> int -> ('a, 'b) t -> ('a, 'b) t Sourceval partial_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t Sourceval sync_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t Sourceval full_flush : int -> int -> ('a, 'a) t -> ('a, 'a) t Sourceval flush : int -> int -> ('a, 'b) t -> ('a, 'b) t Sourceval used_in : ('a, 'b) t -> int Sourceval used_out : ('a, 'b) t -> int include sig ... end
Sourceval to_result :
'a ->
'a ->
?meth:(meth * int) ->
('a -> int option -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) result Sourceval bytes :
'a ->
'a ->
?meth:(meth * int) ->
('a -> int option -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) result Sourceval bigstring :
'a ->
'a ->
?meth:(meth * int) ->
('a -> int option -> int) ->
('a -> int -> int) ->
('a, 'a) t ->
(('a, 'a) t, error) result