Writer

class asdf.typing.Writer[source]

Bases: object

Protocol for simple I/O writer instances.

This protocol only supports blocking I/O.

Methods Summary

write(data, /)

Write data to the output stream and return the number of items written.

Methods Documentation

abstractmethod write(data, /)[source]

Write data to the output stream and return the number of items written.