Constructors
constructor
- new Base16(alphabet: string): Base16
-
Parameters
Properties
Readonly alphabet
alphabet: string
Accessors
Static lowercase
-
Static uppercase
-
Methods
encodeDigit
- encodeDigit(b: number): number
-
Parameters
Returns number
uint8ArrayWriter
- uint8ArrayWriter(): Writer<Uint8Array, unknown>
- uint8ArrayWriter(input: Uint8Array): Writer<unknown, Uint8Array>
-
Returns Writer<Uint8Array, unknown>
-
Parameters
Returns Writer<unknown, Uint8Array>
writeInteger
- writeInteger(input: number, output: Output<unknown>, width?: number): Writer<unknown, unknown>
-
Parameters
-
input: number
-
output: Output<unknown>
-
Optional width: number
Returns Writer<unknown, unknown>
writeIntegerLiteral
- writeIntegerLiteral(input: number, output: Output<unknown>, width?: number): Writer<unknown, unknown>
-
Parameters
-
input: number
-
output: Output<unknown>
-
Optional width: number
Returns Writer<unknown, unknown>
writeUint8Array
- writeUint8Array(input: Uint8Array, output: Output<unknown>): Writer<unknown, unknown>
-
Parameters
-
input: Uint8Array
-
output: Output<unknown>
Returns Writer<unknown, unknown>
Static decodeDigit
- decodeDigit(c: number): number
-
Parameters
Returns number
Static isDigit
- isDigit(c: number): boolean
-
Parameters
Returns boolean
Static parse
-
Type parameters
Parameters
Static parseUint8Array
-
Parameters
Returns Parser<Uint8Array>
Static parser
-
Type parameters
Parameters
Static writeQuantum
- writeQuantum(c1: number, c2: number, output: Output<unknown>): void
-
Parameters
-
c1: number
-
c2: number
-
output: Output<unknown>
Returns void