From a6101d4010747d9d480dbc6692aba217d9714655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20J=C3=BCrgensmeyer?= <6493966+sj14@users.noreply.github.com> Date: Sun, 7 Aug 2022 09:54:25 +0200 Subject: [PATCH] README: Add bit decoding (#7) Add bit decoding --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f6dd1d..fbc7cfd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/sj14/multicode)](https://goreportcard.com/report/github.com/sj14/multicode) [![GoDoc](https://godoc.org/github.com/sj14/multicode/decode?status.png)](https://godoc.org/github.com/sj14/multicode/decode) -`multicode` allows to input a (nested) `byte`, `hex`, `base64` or `proto` (protocol buffers) decoded sequence and will recursively try to encode it. This is helpful when you get encoded data but don't exactly know how it was encoded or encoding might lead to cumbersome command concatenation. +`multicode` allows to input a (nested) `bits`, `bytes`, `hex`, `base64` or `proto` (protocol buffers) encoded sequence and will recursively try to decode it. This is helpful when you get encoded data but don't exactly know how it was encoded or decoding might lead to cumbersome command concatenation. ## Installation @@ -43,13 +43,18 @@ go get -u github.com/sj14/multicode/cmd/decode-web ``` text -base64 use base64 decoding (default true) + -bit + use bit decoding (default true) -byte use byte decoding (default true) -hex use hex decoding (default true) -proto use proto decoding (default true) - -v verbose output mode + -verbose + verbose output mode + -version + print version information ``` ## CLI Examples @@ -161,4 +166,4 @@ docker run --rm -it decode ```text docker build -f Dockerfile.decode-web -t decode-web . docker run --rm -it -p 8080:8080 decode-web -``` \ No newline at end of file +```