btb

Crates.iobtb
lib.rsbtb
version0.2.0
sourcesrc
created_at2023-09-12 23:32:14.707573
updated_at2023-09-13 22:48:10.494379
descriptionBase to base, a Rust tool to convert numbers between bases
homepagehttps://github.com/Xyphyn/base-to-base
repositoryhttps://github.com/Xyphyn/base-to-base
max_upload_size
id971063
size48,445
Xylight (Xyphyn)

documentation

README

base-to-base

base-to-base is a little Rust program to convert numbers between bases.

It aims to be as quick to use as possible.

Install

You'll need cargo for this.

cargo install btb

This will place btb in ~/.cargo/bin. Make sure it's in your PATH.

Usage

btb <Base> <Number> [...args]`

Base is the base of the input Number. It can be any of the following values:

hex x
dec d
oct o
bin b

Args

--to <Base>: output just one base in plaintext
Commit count: 13

cargo fmt