1 |
|
2 |
|
3 |
|
4 |
|
5 | export function encode(node: PBNode): ByteView<PBNode>;
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export function decode(bytes: ByteView<PBNode>): PBNode;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export const name: "dag-pb";
|
20 | export const code: 112;
|
21 | export type ByteView<T> = import('multiformats/codecs/interface').ByteView<T>;
|
22 | export type PBLink = import('./interface').PBLink;
|
23 | export type PBNode = import('./interface').PBNode;
|
24 | import { prepare } from "./util.js";
|
25 | import { validate } from "./util.js";
|
26 | import { createNode } from "./util.js";
|
27 | import { createLink } from "./util.js";
|
28 | export { prepare, validate, createNode, createLink };
|
29 |
|
\ | No newline at end of file |