UNPKG

age-encryption

Version:

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/FiloSottile/age/blob/main/logo/logo_white.svg"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/FiloSottile/a

9 lines (8 loc) 561 B
export declare function readUint(b: Uint8Array): [number, Uint8Array]; export declare function readByteString(b: Uint8Array): [Uint8Array, Uint8Array]; export declare function readTextString(b: Uint8Array): [string, Uint8Array]; export declare function readArray(b: Uint8Array): [string[], Uint8Array]; export declare function encodeUint(n: number): Uint8Array; export declare function encodeByteString(b: Uint8Array): Uint8Array; export declare function encodeTextString(s: string): Uint8Array; export declare function encodeArray(args: string[]): Uint8Array;