Search Results for

    Show / Hide Table of Contents

    Class Base58

    "Base58 is what you get after taking Base62 [a-zA-Z0-9] and removing any character that may induce to error when introduced by hand: 0 (zero), O (uppercase 'o'), I (uppercase 'i'), and l (lowercase 'L'). This concept was introduced to the general public by Flickr".

    Inheritance
    Object
    Base58
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Acoustics.Shared
    Assembly: Acoustics.Shared.dll
    Syntax
    public class Base58
    Remarks

    See http://icoloma.blogspot.com.au/2010/03/create-your-own-bitly-using-base58.html and http://dl.dropbox.com/u/1844215/FlickrBaseEncoder.java for more.

    Methods

    | Improve this Doc View Source

    Decode(String)

    Convert a link into numbers.

    Declaration
    public static long Decode(string link)
    Parameters
    Type Name Description
    String link

    The link.

    Returns
    Type Description
    Int64

    Numerical representation of link.

    | Improve this Doc View Source

    Encode(Int64)

    Convert number into alphanumeric representation.

    Declaration
    public static string Encode(long num)
    Parameters
    Type Name Description
    Int64 num

    The num.

    Returns
    Type Description
    String

    Alphanumeric representation of number.

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top