v35.d.ts 509 B

1234567
  1. import { UUIDTypes } from './types.js';
  2. export declare function stringToBytes(str: string): Uint8Array;
  3. export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
  4. export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
  5. type HashFunction = (bytes: Uint8Array) => Uint8Array;
  6. export default function v35<TBuf extends Uint8Array = Uint8Array>(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: TBuf, offset?: number): UUIDTypes<TBuf>;
  7. export {};