Skip to content

Titanium.Codec.EncodeStringDict

Named parameters for Titanium.Codec.encodeString.

Properties #

charset#

Type: String

Character encoding to use when encoding this string to bytes.

dest#

Type: Titanium.Buffer

Destination buffer.

destPosition#

Type: Number

Index in the dest buffer of the first byte of the encoded string.

source#

Type: String

Source string to encode.

sourceLength#

Type: Number

Number of characters in source to encode.

sourcePosition#

Type: Number

Position in source to start encoding.

Titanium SDK Documentation