[][src]Module sequoia_openpgp_ffi::io

IO primitives for Sequoia.

Structs

Reader

Wraps a generic reader.

Writer

Wraps a generic writer.

Functions

pgp_reader_copy

Copies up to len bytes from source to dest.

pgp_reader_discard

Reads all data from reader and discards it.

pgp_reader_free

Frees this object.

pgp_reader_from_bytes

Creates a reader from a buffer.

pgp_reader_from_fd

Opens a file descriptor returning a reader.

pgp_reader_from_file

Opens a file returning a reader.

pgp_reader_read

Reads up to len bytes into buf.

pgp_writer_alloc

Creates an allocating writer.

pgp_writer_free

Frees this object.

pgp_writer_from_bytes

Creates a writer from a buffer.

pgp_writer_from_fd

Opens a file descriptor returning a writer.

pgp_writer_from_file

Opens a file returning a writer.

pgp_writer_write

Writes up to len bytes of buf into writer.