Ejemplo n.º 1
0
        public static string ToFlickrBase58String(long value)
        {
            Require.Range(value >= 0L, nameof(value));

            return(Encode(value, s_FlickrBase58Alphabet, BASE58_ALPHABET_LENGTH, BASE58_MAX_LENGTH));
        }
Ejemplo n.º 2
0
        public static string ToBase34String(long value)
        {
            Require.Range(value >= 0L, nameof(value));

            return(Encode(value, s_Base34Alphabet, BASE34_ALPHABET_LENGTH, BASE34_MAX_LENGTH));
        }