Decodificar Base32 Crockford
crockford32-decodeDecodifica Base32 de Crockford; mapea O→0 e I/L→1, ignora guiones. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: codificar en Base32 de Crockford (crockford32-encode). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Decodes Crockford Base32; case-insensitive, maps O→0 and I/L→1, ignores hyphens. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: encoding bytes in Douglas Crockford's Base32 (crockford32-encode). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crockford32 | Yes | Crockford Base32 string (string; required). | |
| output_encoding | No | How to return decoded bytes (optional; one of: utf8, hex, base64; default "utf8"). | utf8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | any JSON value |