# Class: com.pnfsoftware.jeb.core.units.code.simatic.S7.StringA

STRING types parser.

## Constructor: StringA
- parameter: `maxlen`, type: `int`
- parameter: `stringBytes`, type: `byte[]`

Description: Create a STRING value.
parameter: maxlen: maximum number of characters
parameter: stringBytes: current string bytes

## Static Field: MAX_LEN
Type: `int`

Constant value: `254`
Description: Maximum STRING maximum length.

## Static Field: MIN_LEN
Type: `int`

Constant value: `0`
Description: Minimum STRING maximum length.

## Method: getCurrentLength
- return type: `int`

Description: Retrieve the current string length.
return: current length in bytes

## Method: getMaximumLength
- return type: `int`

Description: Retrieve the maximum string length.
return: maximum length in bytes

## Method: getMemorySizeInBytes
- return type: `int`

Description: Retrieve the number of bytes used by this STRING in memory.
return: memory size in bytes

## Method: getStringBytes
- return type: `byte[]`

Description: Retrieve the current string bytes.
return: string bytes

## Method: toString
- return type: `java.lang.String`


