From 88c8b4c9fabb6543ece8e3eeb15e8ad3683367f3 Mon Sep 17 00:00:00 2001 From: c-cube Date: Thu, 4 Apr 2024 20:29:41 +0000 Subject: [PATCH] deploy: 00b6efdcd55c9de8fc1d6de8ed98fc816cf9b8a6 --- tiny_httpd/Tiny_httpd_core/IO/Input/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_httpd/Tiny_httpd_core/IO/Input/index.html b/tiny_httpd/Tiny_httpd_core/IO/Input/index.html index 0869bafc..66bcec7f 100644 --- a/tiny_httpd/Tiny_httpd_core/IO/Input/index.html +++ b/tiny_httpd/Tiny_httpd_core/IO/Input/index.html @@ -20,7 +20,7 @@ closed:bool ref -> buf:Slice.t -> Unix.file_descr -> - t
val of_slice : Slice.t -> t
val input : t -> bytes -> int -> int -> int

Read into the given slice.

  • returns

    the number of bytes read, 0 means end of input.

val close : < close : unit -> unit.. > -> unit

Close the channel.

val really_input : t -> bytes -> int -> int -> unit

Read exactly len bytes.

  • raises End_of_file

    if the input did not contain enough data.

val append : t -> t -> t
val iter_slice : (Slice.t -> unit) -> t -> unit
val iter : (bytes -> int -> int -> unit) -> t -> unit
val to_chan : out_channel -> t -> unit
val to_chan' : Iostream.Out.t -> t -> unit
val read_all_using : buf:Buf.t -> t -> string
val read_exactly_ : too_short:(unit -> unit) -> t -> bytes -> int -> unit

Read n bytes from the input into bytes.

val read_line_into : t -> buf:Buf.t -> unit

read a line into the buffer, after clearing it.

val read_line_using : buf:Buf.t -> t -> string
val read_line_using_opt : buf:Buf.t -> t -> string option
val reading_exactly_ : + t
val of_slice : Slice.t -> t
val input : t -> bytes -> int -> int -> int

Read into the given slice.

  • returns

    the number of bytes read, 0 means end of input.

val close : < close : unit -> unit.. > -> unit

Close the channel.

val really_input : t -> bytes -> int -> int -> unit

Read exactly len bytes.

  • raises End_of_file

    if the input did not contain enough data.

val iter_slice : (Slice.t -> unit) -> t -> unit
val iter : (bytes -> int -> int -> unit) -> t -> unit
val to_chan : out_channel -> t -> unit
val to_chan' : Iostream.Out.t -> t -> unit
val read_all_using : buf:Buf.t -> t -> string
val read_exactly_ : too_short:(unit -> unit) -> t -> bytes -> int -> unit

Read n bytes from the input into bytes.

val read_line_into : t -> buf:Buf.t -> unit

read a line into the buffer, after clearing it.

val read_line_using : buf:Buf.t -> t -> string
val read_line_using_opt : buf:Buf.t -> t -> string option
val reading_exactly_ : skip_on_close:bool -> close_rec:bool -> size:int ->