Codeunit 30155 Shpfy Base64

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Helpers/Codeunits/ShpfyBase64.Codeunit.al23 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.Shopify;using System.Utilities;/// <summary>/// Codeunit Shpfy Base64 (ID 30155)./// </summary>codeunit 30155 "Shpfy Base64"{    Access = Internal;    internal procedure IsBase64String(Data: Text): Boolean    var        RegEx: Codeunit Regex;    begin        exit(RegEx.IsMatch(Data, '^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$'));    end;}