Results for “Std.Io.IoError”
17 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Io.IoError
Why an operation over a file did not do what it was asked.
- Std.Io.appendAllBytes
Str -> &Bytes -> Result[(), Std.Io.IoError]Add bytes after what a file already holds.
- Std.Io.classified
Str -> Str -> Std.Io.IoErrorThe cause an operating-system message names for a path, so other modules
- Std.Io.countBytes
Str -> Result[Int, Std.Io.IoError]How many bytes a file holds, without holding any of them.
- Std.Io.foldChunks
&Std.Io.Reader -> T -> fn(T, Bytes) -> T -> Result[T, Std.Io.IoError]Combine every chunk of a file into one value, holding one chunk at a time.
- Std.Io.foldLines
Str -> T -> fn(T, Str) -> T -> Result[T, Std.Io.IoError]Combine every line of a file into one value, holding one chunk at a time.
- Std.Io.forEachChunk
&Std.Io.Reader -> fn(Bytes) -> () -> Result[(), Std.Io.IoError]Run an action for every chunk, keeping nothing.
- Std.Io.forEachLine
Str -> fn(Str) -> () -> Result[(), Std.Io.IoError]Run an action for every line of a file, keeping nothing.
- Std.Io.readAllBytes
Str -> Result[Bytes, Std.Io.IoError]Every byte of a file, joined once rather than once per chunk.
- Std.Io.readAllLinesOf
Str -> Result[Array[Str], Std.Io.IoError]Every line of a file, in order.
- Std.Io.readFrom
&Std.Io.Reader -> Int -> Result[Option[Bytes], Std.Io.IoError]The next bytes from a reader, or nothing when the input has ended.
- Std.Io.withAppender
Str -> fn(Std.Io.Writer) -> Result[T, Std.Io.IoError] -> Result[T, Std.Io.IoError]Write after what the file already holds.
- Std.Io.withReader
Str -> fn(Std.Io.Reader) -> Result[T, Std.Io.IoError] -> Result[T, Std.Io.IoError]Read a file through a handle the runtime owns for the length of the call.
- Std.Io.withWriter
Str -> fn(Std.Io.Writer) -> Result[T, Std.Io.IoError] -> Result[T, Std.Io.IoError]Write a file the same way, replacing whatever it held.
- Std.Io.writeAllBytes
Str -> &Bytes -> Result[(), Std.Io.IoError]Write bytes to a file, replacing what it held.
- Std.Io.writeTextTo
&Std.Io.Writer -> Str -> Result[(), Std.Io.IoError]Write text through a writer, as its UTF-8 encoding.
- Std.Io.writeTo
&Std.Io.Writer -> &Bytes -> Result[(), Std.Io.IoError]Write bytes through a writer.
