You are here: Field Types > Halfbyte

Halfbyte

Reads half byte aligned packed data, which is often found in Unisys/Burroughs environments. Signed numbers must follow the Unisys/Burroughs convention.

Unlike any of the other field types supported by Analyzer, the start and length for this field type is specified in half bytes, rather than bytes.

For example, to define a halfbyte field that starts halfway through byte 3 and has a length of 10, you would click and drag to highlight the field in the Table Layout window, as usual.

You must then manually convert the starting position of the field in bytes (n) to half bytes, using the formula (n*2)-1:

(3*2)-1=5

In our example, you would enter 5 in the Start text box and select HALFBYTE from the Field Type drop-down before clicking the [Accept Entry] button to complete the field definition.

If the data is byte-aligned, it may be more convenient to use the unsigned or Unisys field types.