{ "type": "class", | |
"qname": "mx.utils.Base64Encoder", | |
"baseClassname": "" | |
, | |
"description": "A utility class to encode a String or ByteArray as a Base64 encoded String.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "field", | |
"qname": "CHARSET_UTF_8", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "Constant definition for the string "UTF-8".", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "field", | |
"qname": "newLine", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "The character codepoint to be inserted into the encoded output to denote a new line if <code>insertNewLines</code> is true. The default is <code>10</code> to represent the line feed <code>\\n</code>.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "mx.utils.Base64Encoder", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Constructor.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": []} | |
, | |
{ "type": "field", | |
"qname": "insertNewLines", | |
"return": "Boolean", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "A Boolean flag to control whether the sequence of characters specified for <code>Base64Encoder.newLine</code> are inserted every 76 characters to wrap the encoded output. The default is true.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "drain", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"return": "String", | |
"params": []} | |
, | |
{ "type": "method", | |
"qname": "encode", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Encodes the characters of a String in Base64 and adds the result to an internal buffer. Strings must be in ASCII format. <p>Subsequent calls to this method add on to the internal buffer. After all data have been encoded, call <code>toString()</code> to obtain a Base64 encoded String.</p>", | |
"tags": [ | |
{ "tagName": "param", | |
"values": ["data The String to encode.", "offset The character position from which to start encoding.", "length The number of characters to encode from the offset."]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": [{ "name": "data", "type": "String"}, | |
{ "name": "offset", "type": "uint"}, | |
{ "name": "length", "type": "uint"}]} | |
, | |
{ "type": "method", | |
"qname": "encodeUTFBytes", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Encodes the UTF-8 bytes of a String in Base64 and adds the result to an internal buffer. The UTF-8 information does not contain a length prefix. Subsequent calls to this method add on to the internal buffer. After all data have been encoded, call <code>toString()</code> to obtain a Base64 encoded String.", | |
"tags": [ | |
{ "tagName": "param", | |
"values": ["data The String to encode."]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": [{ "name": "data", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "encodeBytes", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Encodes a ByteArray in Base64 and adds the result to an internal buffer. Subsequent calls to this method add on to the internal buffer. After all data have been encoded, call <code>toString()</code> to obtain a Base64 encoded String.", | |
"tags": [ | |
{ "tagName": "param", | |
"values": ["data The ByteArray to encode.", "offset The index from which to start encoding.", "length The number of bytes to encode from the offset."]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": [{ "name": "data", "type": "mx.utils.ByteArray"}, | |
{ "name": "offset", "type": "uint"}, | |
{ "name": "length", "type": "uint"}]} | |
, | |
{ "type": "method", | |
"qname": "reset", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Clears all buffers and resets the encoder to its initial state.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": []} | |
, | |
{ "type": "method", | |
"qname": "toString", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Returns the current buffer as a Base64 encoded String. Note that calling this method also clears the buffer and resets the encoder to its initial state.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "return", | |
"values": ["The Base64 encoded String."]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "String", | |
"params": []} | |
] | |
} |