Corrected failure to return data

master
John Hammond 2020-05-24 03:11:52 -04:00
parent 0f0c4996f1
commit 8348c3545b
1 changed files with 2 additions and 0 deletions

View File

@ -209,6 +209,8 @@ class Base64IO(io.IOBase):
self.bytes_counter += len(chunk)
return len(chunk)
def write(self, b, line_length=76):
# type: (bytes) -> int
"""Base64-encode the bytes and write them to the wrapped stream.