%PDF- %PDF-
Direktori : /usr/lib/calibre/calibre/ebooks/mobi/debug/ |
Current File : //usr/lib/calibre/calibre/ebooks/mobi/debug/__init__.py |
#!/usr/bin/env python3 __license__ = 'GPL v3' __copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' def format_bytes(byts): byts = bytearray(byts) byts = [hex(b)[2:] for b in byts] return ' '.join(byts)