package iostream
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Generic, composable IO input and output streams
Install
dune-project
Dependency
Authors
Maintainers
Sources
iostream-0.2.1.tbz
sha256=09cd438f755d46bf10e986be0d3dd2ab243b1f5455c3c7410dcde8de521615a9
sha512=c5f4c251ba33386dd027d2cf340268d14fdbcd3119be6bac3586fd9ad1e9f90992ef12e8fd9fbf2442c6747560d84fd2461656ea639f818e53d0b08e82dd8e9a
doc/iostream/Iostream/Out_buf/index.html
Module Iostream.Out_bufSource
Buffered output stream.
An output stream, ie. a place into which we can write bytes, with a buffer to amortize the cost of operations.
Source
val create :
?flush:(unit -> unit) ->
?close:(unit -> unit) ->
output_char:(char -> unit) ->
output:(bytes -> int -> int -> unit) ->
unit ->
tCreate a new output stream from raw components.
Make a bufferized output from a non bufferized output+close.
Wrap an out channel.
of_buffer buf is an output channel that writes directly into buf. flush and close have no effect.
Source
class open_file : ?close_noerr:bool -> ?mode:int -> ?flags:open_flag list -> string ->
t_seekableSource
val open_file :
?close_noerr:bool ->
?mode:int ->
?flags:open_flag list ->
string ->
t_seekableopen_file file creates an out stream writing into the given file.
Source
val with_open_file :
?close_noerr:bool ->
?mode:int ->
?flags:open_flag list ->
string ->
(t_seekable -> 'a) ->
'aEnsure the bytes written so far are indeed written to the underlying storage/network socket/… and are not just sitting in a buffer.
Output a series of lines, each terminated by '\n'.
tee ocs is an output that accepts bytes and writes them to every output in ocs. When closed, it closes all elements of oc.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>