UNPKG

byte-encodings

Version:

Utilities for encoding and decoding common formats like hex, base64, and varint. Ported from Deno's @std/encoding.

11 lines (9 loc) 305 B
/** * Proxy type of {@code Uint8Array<ArrayBuffer} or {@code Uint8Array} in TypeScript 5.7 or below respectively. * * This type is internal utility type and should not be used directly. * * @internal @private */ type Uint8Array_ = ReturnType<Uint8Array["slice"]>; export type { Uint8Array_ as U };