Interface NumberSystem

The number system object interface.

Hierarchy

  • NumberSystem

Properties

Methods

Properties

charset: string

The character set of the number system.

radix: number

The radix/base of the number system.

regex: RegExp

The regex used to match characters in the number system.

Methods

  • Decodes the given encoded string into a buffer, or a string if a character encoding is provided.

    Parameters

    • data: string
    • Optional encoding: BufferEncoding

    Returns string | Buffer

  • Encodes the given data into an encoded string.

    Parameters

    • data: string | Buffer
    • Optional encoding: BufferEncoding

    Returns string

Generated using TypeDoc