Skip to content

Commit

Permalink
README: Add bit decoding (#7)
Browse files Browse the repository at this point in the history
Add bit decoding
  • Loading branch information
sj14 authored Aug 7, 2022
1 parent dbb8c18 commit a6101d4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
```
```

0 comments on commit a6101d4

Please sign in to comment.