@ipld/dag-ucan
Version:
UCAN codec for IPLD
10 lines • 521 B
TypeScript
export const name: "dag-ucan";
export const code: 113;
export function from<C extends UCAN.Capabilities>(model: UCAN.FromModel<C>): UCAN.View<C>;
export function encode<C extends UCAN.Capabilities>(model: UCAN.Model<C>): UCAN.ByteView<UCAN.Model<C>>;
export function decode<C extends UCAN.Capabilities>(bytes: UCAN.ByteView<UCAN.Model<C>>): UCAN.View<C>;
export { format };
import * as UCAN from "../ucan.js";
import { View } from "../view.js";
import { format } from "../formatter.js";
//# sourceMappingURL=cbor.d.ts.map