Giter VIP home page Giter VIP logo

utilities-hex2bits's Introduction

utilities-hex2bits

hexadecimal to bits converter (command line tool)

  • Reads hex from command line input (0xff 0xef5c ...) or from file passed in argument.
  • Display format 16/32+ bits
Usage: ./hex2bits 0x... or ./hex2bits file
./hex2bits 0xff 0x3c3d 0xff35
./hex2bits list.txt

      Bits            Bit    Hex
0000 0000 0000 0001   1.00  (0x1)
0000 0000 0000 0010   1.58  (0x2)
0000 0000 0000 0100   2.32  (0x4)
0000 0000 0000 1000   3.17  (0x8)
0000 0000 0001 0000   4.09  (0x10)
0000 0000 0010 0000   5.04  (0x20)
0000 0000 0100 0000   6.02  (0x40)
0000 0000 1000 0000   7.01  (0x80)
0000 0001 0000 0000   8.01  (0x100)
0000 0100 0000 0000  10.00  (0x400)
0001 0000 0000 0000  12.00  (0x1000)
0100 0000 0000 0000  14.00  (0x4000)
      Bits                            Bit    Hex
00010000 11000011 11111111 00100101  28.07  (0x10c3ff25)
00011111 10000110 11111100 11011111  28.98  (0x1f86fcdf)
00011101 10011100 11111010 10011100  28.89  (0x1d9cfa9c)

utilities-hex2bits's People

Contributors

jfsimon1981 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.