Write input `data` to this filter. `write()` may be called multiple times per stream. Parameters: data: Input data. src: The source of the filtered blob. write_next: The ``write()`` method of the next filter in the chain. Filtered out
(
self, data: bytes, src: FilterSource, write_next: Callable[[bytes], None]
)
| 87 | """ |
| 88 | |
| 89 | def write( |
| 90 | self, data: bytes, src: FilterSource, write_next: Callable[[bytes], None] |
| 91 | ) -> None: |
| 92 | """ |
| 93 | Write input `data` to this filter. |
| 94 | |
| 95 | `write()` may be called multiple times per stream. |
| 96 | |
| 97 | Parameters: |
| 98 | |
| 99 | data: Input data. |
| 100 | |
| 101 | src: The source of the filtered blob. |
| 102 | |
| 103 | write_next: The ``write()`` method of the next filter in the chain. |
| 104 | Filtered output data should be written to `write_next` whenever it is |
| 105 | available. |
| 106 | """ |
| 107 | write_next(data) |
| 108 | |
| 109 | def close(self, write_next: Callable[[bytes], None]) -> None: |
| 110 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected