# Enum: com.pnfsoftware.jeb.core.units.code.asm.type.StringEncoding

Types of string encoding.

## Constant: ASCII_ZERO
Description: Zero\-terminated US\-ASCII string.

## Constant: UTF16_BE_ZERO
Description: Zero\-terminated big\-endian UTF\-16 string.

## Constant: UTF16_LE_ZERO
Description: Zero\-terminated little\-endian UTF\-16 string.

## Constant: UTF16_ZERO
Description: Zero\-terminated UTF\-16 string.

## Constant: UTF8_NONZERO
Description: Non\-zero\-terminated UTF\-8 string.

## Constant: UTF8_ZERO
Description: Zero\-terminated UTF\-8 string.

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

Description: Retrieve the basic character size.
return: character size in bytes

## Method: getCharset
- return type: `java.nio.charset.Charset`

Description: Retrieve the Java charset.
return: charset

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

Description: Retrieve the source literal encoding prefix.
return: encoding prefix, possibly empty

## Method: isZeroTerminated
- return type: `boolean`

Description: Determine whether strings use a zero terminator.
return: true for zero\-terminated strings

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.StringEncoding`


## Static Method: values
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.StringEncoding[]`


