l.s.l.s.HashStream : class documentation
Part of
lp
.
services
.
librarianserver
.
swift
View In Hierarchy
Read a file while calculating a checksum as we go.
Method
__init__
Undocumented
Method
read
Undocumented
Method
tell
Undocumented
Method
seek
Seek to offset, and reset the hash.
def __init__(self, stream, length=None, hash_factory=hashlib.md5):
Undocumented
def read(self, size=-1):
Undocumented
def tell(self):
Undocumented
def seek(self, offset):
Seek to offset, and reset the hash.
API Documentation
for Launchpad, generated by
pydoctor
at 2022-06-16 00:00:12.