API Reference > imodeljs-common > Entities > Base64EncodedString > Base64EncodedString.ensurePrefix Base64EncodedString.ensurePrefix Function Ensure that the base-64-encoded string starts with the Base64EncodedString.prefix. ensurePrefix(base64: string): Base64EncodedString Parameter Type Description base64 string Returns - Base64EncodedString Defined in core/common/src/Base64EncodedString.ts Line 38 Last Updated: 11 June, 2024