Commit b127a5a3 authored by Geoff Simmons's avatar Geoff Simmons

a bit of clarification in the docs for decode_n() and transcode_n()

parent 5cae714f
...@@ -150,7 +150,9 @@ $Function BLOB decode_n(INT n, ...@@ -150,7 +150,9 @@ $Function BLOB decode_n(INT n,
STRING_LIST encoded) STRING_LIST encoded)
Description Description
Same as ``decode()``, but only decode ``n`` characters. Same as ``decode()``, but only decode the first ``n`` characters
of the decoded string. If ``n`` is greater than the length of
the string, then return the same result as ``decode()``.
$Function STRING encode(ENUM {IDENTITY, BASE64, BASE64URL, BASE64URLNOPAD, $Function STRING encode(ENUM {IDENTITY, BASE64, BASE64URL, BASE64URLNOPAD,
HEXUC, HEXLC} encoding, BLOB blob) HEXUC, HEXLC} encoding, BLOB blob)
...@@ -187,7 +189,8 @@ $Function STRING transcode_n(INT n, ...@@ -187,7 +189,8 @@ $Function STRING transcode_n(INT n,
STRING_LIST encoded) STRING_LIST encoded)
Description Description
Same as ``transcode()``, but only transcode ``n`` characters. Same as ``transcode()``, but only from the first ``n`` characters
of the encoded string.
$Function STRING version() $Function STRING version()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment