What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Length Type Attribute

The lengthType attribute defines the unit of length in use.

A length must be defined to use this attribute.

  • bits — Length is specified in units of bits

  • bytes — Length is specified in unites of bytes (default)

  • chars — Length is specified in unites of characters (only applies to String)

  • calc — Length is a calulation using a scripting expression. When set must provide lengthCalc attribute.

Examples

<Blob length="8" lengthType="bytes" value="01 02 03 04 05 06 07 08" valueType="hex" />

<String value="MAGIC" length="5" lengthType="chars"/>

<String value="MAGIC" lengthType="calc" lengthCalc="4+1"/>