| Platform | Since |
|---|---|
| Android | 1.7 |
| iPhone | 1.7 |
| iPad | 1.7 |
A module for converting Numbers and Strings to and from a Titanium.Buffer.
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| decodeNumber |
Decodes the |
| decodeString |
Decodes the |
| encodeNumber |
Encodes the Number |
| encodeString |
Encodes the String |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getNativeByteOrder |
Get the OS native byte order (either |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| Name | Type | Summary |
|---|---|---|
| BIG_ENDIAN | Number |
Big Endian (network) byte order, i.e. most significant byte first. read-only |
| CHARSET_ASCII | String |
The ASCII Character Set read-only |
| CHARSET_ISO_LATIN_1 | String |
The ISO 8859-1 (LATIN-1) Character Set read-only |
| CHARSET_UTF16 | String |
The UTF-16 Character Set read-only |
| CHARSET_UTF16BE | String |
The UTF-16 Character Set with Big Endian byte order read-only |
| CHARSET_UTF16LE | String |
The UTF-16 Character Set with Little Endian byte order read-only |
| CHARSET_UTF8 | String |
The UTF-8 Character Set read-only |
| LITTLE_ENDIAN | Number |
Little Endian byte order, i.e. least significant byte first. read-only |
| TYPE_BYTE | String |
8 bit integer encoding type read-only |
| TYPE_DOUBLE | String |
64 bit double precision floating-point type read-only |
| TYPE_FLOAT | String |
32 bit single precision floating-point type read-only |
| TYPE_INT | String |
32 bit integer encoding type read-only |
| TYPE_LONG | String |
64 bit integer encoding type read-only |
| TYPE_SHORT | String |
16 bit integer encoding type read-only |