Table of Contents

Search

  1. Preface
  2. Libraries for Industry Standards
  3. Using Libraries
  4. Descriptions of the Libraries
  5. Generate Library Objects

Libraries Guide

Libraries Guide

BCDSwapToString

BCDSwapToString

The
BCDSwapToString
transformer transforms packed binary code decimal input into a string. The transformer swaps the nibbles for each byte, truncates the input to the first byte containing FF, and converts the result into a decimal string.

Example

You provide binary input that is equivalent to the following input to a
BCDSwapToString
transformer:
35 54 FF 54 54
The transformer swaps nibbles in each byte. When the transformer reaches byte FF, the transformer stops processing input and the output is truncated.
The transformer provides the following output:
5345

0 COMMENTS

We’d like to hear from you!