aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ascii2binary/pkg-descr
blob: 94fd043bc239e0609b82426b58e146048fd5c56e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
These programs convert between textual and binary representations of numbers.
ascii2binary reads input consisting of textual representations of numbers
separated by whitespace and produces as output the binary equivalents. The type
and precision of the binary output is selected using command line flags.

binary2ascii reads input consisting of binary numbers and converts them to
their textual representation. Command line flags specify the type and size
of the binary numbers and provide control over the format of the output.
Unsigned integers may be written out in binary, octal, decimal, or hexadecimal.
Signed integers may be written out only in binary or decimal. Floating point
numbers may be written out only decimal, either in standard or scientific
notation. (If you want to examine the binary representation of floating point
numbers, just treat the input as a sequence of unsigned characters.)

The two programs are useful for generating test data, for inspecting binary
files, and for interfacing programs that generate textual output to programs
that require binary input and conversely. They can also be useful when it is
desired to reformat numbers.

WWW: http://billposer.org/Software/a2b.html
d> * Let the IGNORE message make a bit more sense and change it from:erwin2005-11-011-1/+1 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-22