Class Binary

Represents the BINARY value type, which contains extra methods for encoding and decoding.

Hierarchy

  • Binary

Constructors

  • Creates a new ICAL.Binary instance

    Parameters

    • aValue: string

      The binary data for this value

    Returns Binary

Properties

icaltype: "binary" = 'binary'

The type name, to be used in the jCal object.

value: string

Methods

  • Parameters

    • data: string

    Returns string

  • Parameters

    • data: string

    Returns string

  • Base64 decode the current value

    Returns string

  • Encodes the passed parameter with base64 and sets the internal value to the result.

    Parameters

    • aValue: string

      The raw binary value to encode

    Returns void

  • The string representation of this value

    Returns string

  • Creates a binary value from the given string.

    Parameters

    • aString: string

    Returns Binary

Generated using TypeDoc