Base overview
Added in v1.0.0
Table of contents
brands
Base32
Signature
export declare const Base32: t.BrandC<t.StringC, Base32Brand>
Added in v1.0.0
Base58
Signature
export declare const Base58: t.BrandC<t.StringC, Base58Brand>
Added in v1.0.0
Base64
Signature
export declare const Base64: t.BrandC<t.StringC, Base64Brand>
Added in v1.0.0
decoders
baseDecoder
Signature
export declare const baseDecoder: <S extends string, B extends '32' | '58' | '64' = '32'>(
brand?: B
) => D.Decoder<S, t.Branded<S, BrandMap[B]>>
Added in v1.1.0
types
Base32 (type alias)
Signature
export type Base32 = t.Branded<string, Base32Brand>
Added in v1.0.0
Base32Brand (interface)
Signature
export interface Base32Brand {
readonly Base32: unique symbol
}
Added in v1.0.0
Base58 (type alias)
Signature
export type Base58 = t.Branded<string, Base58Brand>
Added in v1.0.0
Base58Brand (interface)
Signature
export interface Base58Brand {
readonly Base58: unique symbol
}
Added in v1.0.0
Base64 (type alias)
Signature
export type Base64 = t.Branded<string, Base64Brand>
Added in v1.0.0
Base64Brand (interface)
Signature
export interface Base64Brand {
readonly Base64: unique symbol
}
Added in v1.0.0