VirtualBox

Changeset 84273 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
May 12, 2020 4:33:50 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137909
Message:

IPRT/Base64: Allow the end-of-line style to be specified via the fFlags parameter when encoding. ?[typo] bugref:9699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/base64.cpp

    r84210 r84273  
    9595static const char       g_aachEolStyles[RTBASE64_FLAGS_EOL_STYLE_MASK + 1][2] =
    9696{
    97     /*[RTBASE64_FLAGS_EOL_NATIVE    ]:*/ { RTBASE64_EOL_SIZE == 1 ? '\n' : '\n', RTBASE64_EOL_SIZE == 1 ? '\n' : '\0', },
     97    /*[RTBASE64_FLAGS_EOL_NATIVE    ]:*/ { RTBASE64_EOL_SIZE == 1 ? '\n' : '\r', RTBASE64_EOL_SIZE == 1 ? '\0' : '\n', },
    9898    /*[RTBASE64_FLAGS_NO_LINE_BREAKS]:*/ { '\0', '\0' },
    9999    /*[RTBASE64_FLAGS_EOL_LF        ]:*/ { '\n', '\0' },
Note: See TracChangeset for help on using the changeset viewer.

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