Skip to content

ToCborValue

Defined in: packages/agent/src/cbor.ts:9

Used to extend classes that need to provide a custom value for the CBOR encoding process.

new ToCborValue(): ToCborValue

ToCborValue

abstract toCborValue(): any

Defined in: packages/agent/src/cbor.ts:13

Returns a value that can be encoded with CBOR. Typically called in the replacer function of the encode function.

any