VirtualBox

Changeset 84287 in vbox for trunk/include


Ignore:
Timestamp:
May 13, 2020 1:59:34 PM (5 years ago)
Author:
vboxsync
Message:

Glue/Bstr: Adding a base64Encode method using the new UTF-16 base64 encoding functions in IPRT. bugref:9224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r82968 r84287  
    661661
    662662
     663    /** @name BASE64 related methods
     664     * @{ */
     665    /**
     666     * Encodes the give data as BASE64.
     667     *
     668     * @returns S_OK or E_OUTOFMEMORY.
     669     * @param   pvData          Pointer to the data to encode.
     670     * @param   cbData          Number of bytes to encode.
     671     * @param   fLineBreaks     Whether to add line breaks (true) or just encode it
     672     *                          as a continuous string.
     673     */
     674    HRESULT base64Encode(const void *pvData, size_t cbData, bool fLineBreaks = false);
     675    /** @} */
     676
    663677#if defined(VBOX_WITH_XPCOM)
    664678    /**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette