* @return the code point of the table used in alphanumeric mode or * -1 if there is no corresponding code in the table.
(code: number /*int*/)
| 198 | * -1 if there is no corresponding code in the table. |
| 199 | */ |
| 200 | public static getAlphanumericCode(code: number /*int*/): number /*int*/ { |
| 201 | if (code < Encoder.ALPHANUMERIC_TABLE.length) { |
| 202 | return Encoder.ALPHANUMERIC_TABLE[code]; |
| 203 | } |
| 204 | return -1; |
| 205 | } |
| 206 | |
| 207 | // public static chooseMode(content: string): Mode { |
| 208 | // return chooseMode(content, null); |
no outgoing calls
no test coverage detected