LegacyLink
Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:31
Represents an IPLD link to a specific data of type T.
Template
Section titled “Template”Logical type of the data being linked to.
Template
Section titled “Template”multicodec code corresponding to a codec linked data is encoded with
Template
Section titled “Template”multicodec code corresponding to the hashing algorithm of the CID
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends unknown | unknown |
Properties
Section titled “Properties”[Marker]?
Section titled “[Marker]?”optional [Marker]: T;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/block/interface.d.ts:33
Inherited from
Section titled “Inherited from”byteLength
Section titled “byteLength”readonly byteLength: number;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:21
Inherited from
Section titled “Inherited from”byteOffset
Section titled “byteOffset”readonly byteOffset: number;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:20
Inherited from
Section titled “Inherited from”readonly bytes: ByteView<Link<T, 112, 18, 0>>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:22
Inherited from
Section titled “Inherited from”readonly code: 112;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:18
Inherited from
Section titled “Inherited from”multihash
Section titled “multihash”readonly multihash: MultihashDigest<18>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:19
Inherited from
Section titled “Inherited from”version
Section titled “version”readonly version: 0;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:17
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”equals()
Section titled “equals()”equals(other): other is Link<T, 112, 18, Version>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:23
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
other | unknown |
Returns
Section titled “Returns”other is Link<T, 112, 18, Version>
Inherited from
Section titled “Inherited from”link()
Section titled “link()”link(): Link<T, 112, 18, 0>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:25
Returns
Section titled “Returns”Link<T, 112, 18, 0>
Inherited from
Section titled “Inherited from”toString()
Section titled “toString()”toString<Prefix>(base?): ToString<Link<T, 112, 18, Version>, Prefix>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:24
Returns a string representation of an object.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Prefix extends string |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
base? | MultibaseEncoder<Prefix> |
Returns
Section titled “Returns”ToString<Link<T, 112, 18, Version>, Prefix>
Inherited from
Section titled “Inherited from”toV1()
Section titled “toV1()”toV1(): Link<T, 112, 18, 1>;Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/link/interface.d.ts:26
Returns
Section titled “Returns”Link<T, 112, 18, 1>