+inline wxMemoryBuffer
+wxBase64Decode(const wxString& src,
+ wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
+ size_t *posErr = NULL)
+{
+ // don't use str.length() here as the ASCII buffer is shorter than it for
+ // strings with embedded NULs
+ return wxBase64Decode(src.ToAscii(), wxNO_LEN, mode, posErr);
+}
+