Constructor
new Binary(aValue)
Creates a new ICAL.Binary instance
Parameters:
Name | Type | Description |
---|---|---|
aValue | String | The binary data for this value |
Members
(constant) icaltype
The type name, to be used in the jCal object.
- Default Value
- "binary"
Methods
decodeValue() → {String}
Base64 decode the current value
Returns:
The base64-decoded value
- Type:
- String
setEncodedValue(aValue)
Encodes the passed parameter with base64 and sets the internal value to the result.
Parameters:
Name | Type | Description |
---|---|---|
aValue | String | The raw binary value to encode |
toString() → {String}
The string representation of this value
Returns:
- Type:
- String
(static) fromString(aString) → {ICAL.Binary}
Creates a binary value from the given string.
Parameters:
Name | Type | Description |
---|---|---|
aString | String | The binary value string |
Returns:
The binary value instance
- Type:
- ICAL.
Binary