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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToCborValue():
ToCborValue
Returns
Section titled “Returns”ToCborValue
Methods
Section titled “Methods”toCborValue()
Section titled “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.
Returns
Section titled “Returns”any