hmjbarbosa / bin2bin Goto Github PK
View Code? Open in Web Editor NEWCode to convert binary files: big/little endian, char/int/float/double, ...
Code to convert binary files: big/little endian, char/int/float/double, ...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.