GithubHelp home page GithubHelp logo

bin2bin's Introduction

DESCRIPTION

This piece of code is for converting a binary file into a binary file
while changing from big/little endianess, or data type between char,
short, int, long, float, double or long double.
       
SYNOPSIS
       bin2bin [options]

OPTIONS
       -i input_file 

               Opens file input_file for input

       -iend le|be 

               Selects endiness of input file: le for little_endian,
               or be for big_endian

       -iprec si1|si2|si4|ui1|ui2|ui4|r4|r8 

               Selects the precision of input data. (s|u) is for
               signed vs unsigned. (i|r is for integer or
               float. (1|2|4|8) is the number of bytes. Standard
               32-bit float uses 4-bytes, while double precision, or
               64-bit float, uses 8-byte.

       -o output_file 

               Open file output_file for output

       -oend le|be 

               Select endiness of output file: le for little_endian,
               or be for big_endian

       -oprec si1|si2|si4|ui1|ui2|ui4|r4|r8 

               Selects the precision of output data. (s|u) is for
               signed vs unsigned. (i|r) is for integer or
               float. (1|2|4|8) is the number of bytes. Standard
               32-bit float uses 4-bytes, while double precision, or
               64-bit float, uses 8-byte.

AUTHOR

        Henrique Barbosa (hmjbarbosa [at] gmail [dot] com)

COPYRIGHT 

        This sofLicense is distributed under GNU GPL version 3 or
        later <http://gnu.org/licenses/gpl.html>.  This is free
        software: you are free to change and redistribute it.  There
        is NO WARRANTY, to the extent permitted by law.

bin2bin's People

Contributors

hmjbarbosa avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.