matchClaims#

Interfaces#

MatchClaimTable#

Defined in: matchClaims.ts:20

A MatchClaim table as the server answers it: the anchor index’s columns and the beliefs.

Properties#

beliefs#

readonly beliefs: ClaimBeliefs

Defined in: matchClaims.ts:22

columns#

readonly columns: MatchClaimColumns

Defined in: matchClaims.ts:21

Variables#

MALFORMED_MATCH_CLAIMS#

const MALFORMED_MATCH_CLAIMS: "the match-claims answer is not of the tilie-match-claims layout" = "the match-claims answer is not of the tilie-match-claims layout"

Defined in: matchClaims.ts:32

The message of an answer that is not of the layout.

Functions#

decodeMatchClaims()#

decodeMatchClaims(buffer): MatchClaimTable | undefined

Defined in: matchClaims.ts:101

The table an answer’s bytes hold, every array a view into buffer.

Parameters#

buffer#

ArrayBuffer

Returns#

MatchClaimTable | undefined

undefined when the bytes are not of the layout.

Throws#

on a platform whose typed arrays are big-endian.


matchClaimsRequest()#

matchClaimsRequest(manifest, table): Blob

Defined in: matchClaims.ts:39

The request’s body: the manifest’s UTF-8 length (little-endian), the manifest, the file.

Parameters#

manifest#

string

table#

Blob

Returns#

Blob