- class coqui.BinaryIO(IO[bytes])
Typed version of the return of open() in binary mode.
Public members¶
- abstract write(s: bytes | bytearray) int
- abstract property mode : str
- abstract property name : str
- abstract close() None
- abstract property closed : bool
- abstract fileno() int
- abstract flush() None
- abstract isatty() bool
-
abstract read(n: int =
-1) AnyStr
- abstract readable() bool
-
abstract readline(limit: int =
-1) AnyStr
-
abstract readlines(hint: int =
-1) list
-
abstract seek(offset: int, whence: int =
0) int
- abstract seekable() bool
- abstract tell() int
-
abstract truncate(size: int =
None) int
- abstract writable() bool
- abstract writelines(lines: list) None
- BinaryIO[params]
Parameterizes a generic class.
- classmethod __init_subclass__(*args, **kwargs)
This method is called when a class is subclassed.