package rfc1951
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Rfc1951.Def
Source
Source
type encoder = {
dst : dst;
mutable blk : block;
mutable hold : int;
mutable bits : int;
mutable bits_rem : [ `Rem of int | `Pending ];
mutable flat : int;
mutable fmax : int;
mutable o : bigstring;
mutable o_pos : int;
mutable o_max : int;
b : Queue.t;
mutable k : encoder -> encode -> [ `Ok | `Partial | `Block ];
}
Source
val dst :
encoder ->
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
int ->
int ->
unit
Source
val partial :
('a -> 'b) ->
'a ->
[< `Await | `Block of 'c | `Copy of 'd | `End | `Flush | `Literal of 'e ] ->
'b