diff --git a/README.md b/README.md index 4dca0f8..ab23a53 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,13 @@ Options: -l, --length Read `N` bytes from the input. None for full read. The `N` argument can be a unit with a decimal prefix(kb, mb). Examples: --length 3kb, -l3kb, --length 1mb... - N unis are kb(1000), K(1024), mb(1000 * 1000) and M(1024 * 1024). + N unis are kb(1000), K(1024), mb(1000 * 1000) M(1024 * 1024), + and a prefix 0x for hexadecimal, `0x0a`. -n, --no-squeezing Displays all input data. Otherwise any number of output lines which would be identical to the last one are replaced with a line comprised of a single asterisk. -h, --help Print help - -V, --version Print version + -V, --version Print versio ``` ## Stream Workflow @@ -69,3 +70,12 @@ Options: * **Read using units kb(1000), K(1024), mb(1000 * 1000) or M(1024 * 1024)** ![](images/read1kb.png) + +* **Read from offset 0x50 plus 32 bytes** + +![](images/off0x50-32bytes.png) + +* **Read UTF16 file** + +![](images/readutf16.png) + diff --git a/images/demo.png b/images/demo.png index 7fb6d1d..af1ebe1 100644 Binary files a/images/demo.png and b/images/demo.png differ diff --git a/images/off0x50-32bytes.png b/images/off0x50-32bytes.png new file mode 100644 index 0000000..7337877 Binary files /dev/null and b/images/off0x50-32bytes.png differ diff --git a/images/read1kb.png b/images/read1kb.png index 82d4eec..1c7258b 100644 Binary files a/images/read1kb.png and b/images/read1kb.png differ diff --git a/images/read32fromstart.png b/images/read32fromstart.png index 3943526..a808306 100644 Binary files a/images/read32fromstart.png and b/images/read32fromstart.png differ diff --git a/images/read5.png b/images/read5.png index c0d47c2..b49d2b1 100644 Binary files a/images/read5.png and b/images/read5.png differ diff --git a/images/readutf16.png b/images/readutf16.png new file mode 100644 index 0000000..432d952 Binary files /dev/null and b/images/readutf16.png differ diff --git a/images/skip16andread40.png b/images/skip16andread40.png index 82b30cd..d133594 100644 Binary files a/images/skip16andread40.png and b/images/skip16andread40.png differ