-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a naive hexdump() implementation
I really like the `hd` format, so this copies that except without the addressing since we shouldn't really be dealing with large buffers. Helpful for debugging control characters, because lua's string matching does not do the ^D => \x04 translation that we do in write(). Signed-off-by: Kyle Evans <[email protected]>
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters