Home
last modified time | relevance | path

Searched refs:data_or_stream (Results 1 – 1 of 1) sorted by relevance

/dports/sysutils/py-plumbum/plumbum-1.7.1/plumbum/cli/
H A Dterminal.py175 def hexdump(data_or_stream, bytes_per_line=16, aggregate=True): argument
179 if hasattr(data_or_stream, "read"):
183 buf = data_or_stream.read(bytes_per_line)
191 for i in range(0, len(data_or_stream), bytes_per_line):
192 yield data_or_stream[i : i + bytes_per_line]