Module Iobuf_unix.Peek

Write from the iobuf to the specified channel without changing the iobuf window. Returns the number of bytes written.

val output : ([> Core.read ], _, Iobuf.global) Iobuf.t @ local -> (Core.Out_channel.t -> int) @ local
val write : ([> Core.read ], _, Iobuf.global) Iobuf.t @ local -> (Unix.File_descr.t -> int) @ local
val really_write : ([> Core.read ], _, Iobuf.global) Iobuf.t @ local -> (Unix.File_descr.t -> unit) @ local
val write_assume_fd_is_nonblocking : ([> Core.read ], _, Iobuf.global) Iobuf.t @ local -> (Unix.File_descr.t -> int) @ local