Search results

There are no results.

std.io

Types for core IO functionality.

The IO module provides the basic building blocks for IO operations such as reading from and writing to a file.

Methods

copy_using

Copies data from from to to in chunks of size bytes, using an existing ByteArray as the intermediate buffer.

start_blocking

Signals the start of a C function call that may perform blocking IO operations.

stop_blocking

Signals the end of a C function call that may perform blocking IO operations.

Traits

BufferedRead

A Read type using an internal buffer, allowing more efficient reading and additional operations.

Read

A type data can be read from (e.g. a File).

Seek

Trait for seeking to a given offset in a stream of bytes.

Write

A type data can be written to (e.g. a File).

Types

Buffer

An in-memory buffer that supports reads and seeks.

BufferedReader

A type for performing buffered reads from a Read type.

BufferedWriter

A type that wraps a Write type and buffers the output.

CopyError

An error produced by std.io.copy_using.

ValueError

An error type for I/O operations.

LimitReader

A type that implements Read and limits the number of bytes to read from the underlying Read value.

ReadExactError

An error produced when reading an exact number of bytes.

ValueSeekFrom

The direction/position to seek from.