nonstandard_encode(p_base integer, p_tokens text, p_value bigint)


Description

Performs an encode operation, similar to the standard encode function, but for non-standard encoding schemes such as Base32 or Base36.

Parameters

  • p_base :: Required? True; Default: ( No Default )

    The number base that the encoding system is expecting. For example, Base36 the p_base value is 36.

  • p_tokens :: Required? True; Default: ( No Default )

    The tokens to use in representing the numbering scheme. The count of characters passed in this parameter should match the p_base parameter.

  • p_value :: Required? True; Default: ( No Default )

    The decimal value to encode in the requested base.

Parameters

Name Type Mode
p_base integer IN
p_tokens text IN
p_value bigint IN

Definition