dcousens / bindrop

A streaming binary cut tool written in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bindrop

A streaming binary cut tool, pipes stdin to stdout.

Byte-for-byte, not UTF8 aware.

Examples

Drop bytes 4:8, every 17 bytes

> echo -e 'whats in the box\nwho has the box?' | ./bindrop 4 8 17
what the box
who the box?

Warning: if the bytes read is not a multiple of the slice length (for example, 17 bytes), the remainder is truncated (dropped).

LICENSE MIT

About

A streaming binary cut tool written in C++

License:MIT License


Languages

Language:C++ 81.9%Language:Makefile 18.1%