API reference / @evolu/common / Evolu/Protocol / Base64Url256

Variable: Base64Url256

const Base64Url256: BrandType<
  Type<
    "Brand",
    string & Brand<"Base64Url">,
    string,
    RegexError<"Base64Url">,
    string,
    StringError
  >,
  "MaxLength256",
  MaxLengthError<256>,
  StringError | RegexError<"Base64Url">
>;

Defined in: packages/common/src/Evolu/Protocol.ts:329

Base64Url string with maximum length of 256 characters. Encoding strings as Base64UrlString saves up to 25% in size compared to regular strings.

Was this page helpful?