TotalDepth.common.xxd¶
-
TotalDepth.common.xxd.
xxd
(by: bytes, columns: int = 16, uppercase: bool = False, ebcdic: bool = False, binary: bool = False, length: int = 0, offset: int = 0, seek: int = 0) → str¶ Returns an xxd style string of the bytes. For example:
0084 8000 8400 2647 3546 3239 2020 2020 2020 ......&G5F29
columns
- Number of octets in each row.uppercase
- use upper case hex letters.ebcdic
- show characters in EBCDIC. Default ASCII.binary
- binary digit dump. Default hex.length
- stop after <length> octets.offset
- add <offset> to the displayed file position.seek
- start at <seek> bytes infile offset.