UNPKG

multiformats

Version:

Interface for multihash, multicodec, multibase and CID

10 lines 357 B
/** * @template T * @typedef {import('./interface.js').ByteView<T>} ByteView */ export const name: "raw"; export const code: 85; export function encode(node: Uint8Array): ByteView<Uint8Array>; export function decode(data: ByteView<Uint8Array>): Uint8Array; export type ByteView<T> = import('./interface.js').ByteView<T>; //# sourceMappingURL=raw.d.ts.map