{"id":"utf32-encode","version":"1.0.0","description":"Encode Unicode scalar text as bit-exact UTF-32LE or UTF-32BE base64 bytes with an optional BOM.","supported_operations":["encode text as UTF-32","convert text to UTF-32LE","convert text to UTF-32BE","add a UTF-32 BOM","produce base64 UTF-32 bytes","serialize Unicode scalar values"],"unsupported_operations":["encode lone surrogates","normalize or repair text"],"semantics":["Implements Unicode Standard 16.0, Unicode Encoding Schemes.","Each Unicode scalar is emitted as exactly four bytes in the selected byte order.","A requested BOM is emitted before text; text itself is never normalized.","Surrogates are invalid; noncharacters follow the requested policy.","Disclaimer: format transform only; provides no confidentiality, integrity, or authenticity."],"limits":{"max_input_bytes":4096,"max_code_points":1024,"max_output_bytes":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["text","endian","bom","noncharacters"],"properties":{"text":{"type":"string","maxLength":1024},"endian":{"type":"string","enum":["le","be"]},"bom":{"type":"boolean"},"noncharacters":{"type":"string","enum":["allow","reject"]}}},"output_schema":{"type":"object","additionalProperties":false,"required":["base64","byte_length","endian","bom","standard_version"],"properties":{"base64":{"type":"string","maxLength":5464},"byte_length":{"type":"integer","minimum":0,"maximum":4096},"endian":{"type":"string","enum":["le","be"]},"bom":{"type":"boolean"},"standard_version":{"type":"string","const":"Unicode Standard 16.0, Unicode Encoding Schemes"}}},"examples":[{"input":{"text":"A","endian":"le","bom":false,"noncharacters":"allow"},"output":{"base64":"QQAAAA==","byte_length":4,"endian":"le","bom":false,"standard_version":"Unicode Standard 16.0, Unicode Encoding Schemes"}},{"input":{"text":"😀","endian":"be","bom":true,"noncharacters":"allow"},"output":{"base64":"AAD+/wAB9gA=","byte_length":8,"endian":"be","bom":true,"standard_version":"Unicode Standard 16.0, Unicode Encoding Schemes"}}],"execute_url":"/v1/tools/utf32-encode/versions/1.0.0/execute"}