BinaryConvertDoc.tioga
Pavel, December 20, 1985 6:33:11 pm PST
BinaryConvert - Converting Bytes to Numeric Ropes
CEDAR 6.0 — FOR INTERNAL XEROX USE ONLY
BinaryConvert
Converting Bytes to Numeric Ropes
Pavel Curtis
© Copyright 1985 Xerox Corporation. All rights reserved.
Abstract: Useful for those attempting to use Tioga for reading binary files, this puts a button in the herald for reading the bytes in the selection and printing or inserting the unsigned number represented by those bytes.
Created by: Pavel Curtis
Maintained by: Pavel Curtis <Pavel.pa>
Keywords: binary, conversion
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
For Internal Xerox Use Only
1. How to Use It
Run the command ``BinaryConvert''. This will put a button in the main herald that looks like this:
Binary: 10/8/16
Now find and select the sequence of 1 - 4 bytes (characters) whose value you want to see. Then bug the button. The unsigned integer value represented by the bytes (in BigEndian order, most significant byte first) will be printed in the message window. If you used the left mouse button, the value will be printed in decimal. The middle button prints in octal and the right button uses hexadecimal.
In addition, if you hold down either SHIFT key when you bug the Binary button, the value will be inserted in place of the selected bytes, using the same radix as above.