stringContinuationCodec function

Codec<String, String> stringContinuationCodec({
  1. dynamic secret,
})

Creates a continuation codec that encodes the String value as UTF-8, XOR (if secret is provided) and URL-safe, no-pad BASE-64 text.

Implementation

Codec<String, String> stringContinuationCodec({dynamic secret}) =>
    utf8.fuse(XorCodec(secret)).fuse(base64UrlNoPad);