Searched refs:data_or_stream (Results 1 – 1 of 1) sorted by relevance
175 def hexdump(data_or_stream, bytes_per_line=16, aggregate=True): argument179 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]