Back Forward Parse-Fixed-Binary method

Methods and instructions by function

03-02 Use the Parse-Fixed-Binary method in the Steps tab of a Parse Structured rule (Rule-Parse-Structured rule type) to extract fixed binary data from the input byte stream into a clipboard property value.

NoteYou cannot use this method in an activity. You cannot use this method if the associated input is a character stream.

Parameters

This method has three parameters:

Parameter

Description

Little Endian Select if the data in the binary value is stored in little-endian format.
Bytes Enter a positive integer (or numeric property reference) indicating how many bytes to parse.
TargetProperty R-5858 Optional. Identify the Single Value property to hold the result.

Results

The system reads the specified number of bytes from the input byte stream.

It converts the selected bytes into a Java long value.

If the TargetProperty parameter is not blank, it sets this as the value of the property identified. If the property is not already present on the clipboard, it is added. See More About Parse Structured rules.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Related topics About Parse Structured rules

UpMethods and instructions by function