Module Private.Bytebuffer
include module type of struct include Http_bytebuffer.Bytebuffer end
val unsafe_buf : t -> Stdlib.Bytes.t
val drop : t -> int -> unit
val to_string : t -> string
include sig ... end
val refill :
Http_bytebuffer__Bytebuffer.t ->
(bytes -> pos:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t) ->
[ `Eof | `Ok ] Lwt.t
val read_line :
Http_bytebuffer__Bytebuffer.t ->
(bytes -> pos:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t) ->
string option Lwt.t
val read :
Http_bytebuffer__Bytebuffer.t ->
(bytes -> pos:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t) ->
int ->
string Lwt.t